mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
Merge branch 'main' into dev/bbl-network-upd
This commit is contained in:
@@ -1499,7 +1499,7 @@ wxWindow* PreferencesDialog::create_debug_page()
|
||||
|
||||
debug_button->Bind(wxEVT_LEFT_DOWN, [this](wxMouseEvent &e) {
|
||||
// success message box
|
||||
MessageDialog dialog(this, _L("save debug settings"), _L("DEBUG settings have saved successfully!"), wxNO_DEFAULT | wxYES_NO | wxICON_INFORMATION);
|
||||
MessageDialog dialog(this, _L("save debug settings"), _L("DEBUG settings have been saved successfully!"), wxNO_DEFAULT | wxYES_NO | wxICON_INFORMATION);
|
||||
dialog.SetSize(400,-1);
|
||||
switch (dialog.ShowModal()) {
|
||||
case wxID_NO: {
|
||||
@@ -1562,7 +1562,7 @@ wxWindow* PreferencesDialog::create_debug_page()
|
||||
agent->set_country_code(country_code);
|
||||
}
|
||||
ConfirmBeforeSendDialog confirm_dlg(this, wxID_ANY, _L("Warning"), ConfirmBeforeSendDialog::ButtonStyle::ONLY_CONFIRM);
|
||||
confirm_dlg.update_text(_L("Switch cloud environment, Please login again!"));
|
||||
confirm_dlg.update_text(_L("Cloud environment switched, please login again!"));
|
||||
confirm_dlg.on_show();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user