mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
post changes after merging BS1.7.4
Remove tracking etc..
This commit is contained in:
@@ -149,7 +149,7 @@ wxBoxSizer *PreferencesDialog::create_item_language_combobox(
|
||||
language_name = wxString::FromUTF8("Ukrainian");
|
||||
}
|
||||
|
||||
if (language == vlist[i]->CanonicalName) {
|
||||
if (app_config->get(param) == vlist[i]->CanonicalName) {
|
||||
m_current_language_selected = i;
|
||||
}
|
||||
combobox->Append(language_name);
|
||||
@@ -193,7 +193,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;
|
||||
|
||||
Reference in New Issue
Block a user