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(); } } }