From f3a421198edd4e0bd9f7cbef775c319c480af1ad Mon Sep 17 00:00:00 2001 From: blueJpg <2238288979@qq.com> Date: Mon, 22 Apr 2024 12:06:35 +0800 Subject: [PATCH] [*] improve ui --- ui/panel/bodyer/add.slint | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/panel/bodyer/add.slint b/ui/panel/bodyer/add.slint index 0c13fb4..e0c5ca5 100644 --- a/ui/panel/bodyer/add.slint +++ b/ui/panel/bodyer/add.slint @@ -294,17 +294,17 @@ component AddEditBtns inherits HorizontalLayout { callback cancel-clicked(); callback ok-clicked(); - CancelBtn { - text: Logic.tr(Store.is-cn, "取消"); + ConfirmBtn { + text: Logic.tr(Store.is-cn, "确认"); clicked => { - root.cancel-clicked(); + root.ok-clicked(); } } - ConfirmBtn { - text: Logic.tr(Store.is-cn, "确认"); + CancelBtn { + text: Logic.tr(Store.is-cn, "取消"); clicked => { - root.ok-clicked(); + root.cancel-clicked(); } } }