FIX: optimize the GUI dialog

jira: [STUDIO-9580]
Change-Id: I01bb5b116f472d2b5de51cdff4f074aca2f3447c
(cherry picked from commit 98f076c04949c0df588b66ae1dfc2ad1fabc99f3)
This commit is contained in:
xin.zhang
2025-01-09 10:54:04 +08:00
committed by Noisyfox
parent 897a78ce9a
commit b5a3e0e29c
4 changed files with 82 additions and 65 deletions

View File

@@ -2379,7 +2379,7 @@ void SyncAmsInfoDialog::on_ok_btn(wxCommandEvent &event)
if (is_printing_block) {
confirm_dlg.hide_button_ok();
confirm_dlg.edit_cancel_button_txt(_L("Close"));
confirm_dlg.edit_cancel_button_txt(_L("Close"), true);
confirm_text.push_back(ConfirmBeforeSendInfo(_L("Please fix the error above, otherwise printing cannot continue."), ConfirmBeforeSendInfo::InfoLevel::Warning));
} else {
confirm_text.push_back(ConfirmBeforeSendInfo(_L("Please click the confirm button if you still want to proceed with printing.")));