mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 16:10:42 +08:00
FIX: [STUDIO-2708] Translation of Language Selection
Change-Id: I7dc0d69846d0189f938bb680e201b62d20fba4e3
This commit is contained in:
parent
42bcec8101
commit
6718026dd6
@ -172,7 +172,7 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||
// or sometimes the application crashes into wxDialogBase() destructor
|
||||
// so we put it into an inner scope
|
||||
MessageDialog msg_wingow(nullptr, _L("Switching the language requires application restart.\n") + "\n" + _L("Do you want to continue?"),
|
||||
L("Language selection"), wxICON_QUESTION | wxOK | wxCANCEL);
|
||||
_L("Language selection"), wxICON_QUESTION | wxOK | wxCANCEL);
|
||||
if (msg_wingow.ShowModal() == wxID_CANCEL) {
|
||||
combobox->SetSelection(m_current_language_selected);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user