mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 03:13:39 +00:00
FIX: fix missing translation issue
JIRA: none Change-Id: I163550c2e784a5920dbfeb3ee7d9344506da1567 Signed-off-by: Stone Li <stone.li@bambulab.com> (cherry picked from commit fc6b447b4ae84901b17431ae1766fc581233e1f1)
This commit is contained in:
@@ -352,7 +352,7 @@ wxBoxSizer *PreferencesDialog::create_item_region_combobox(wxString title, wxWin
|
|||||||
NetworkAgent* agent = wxGetApp().getAgent();
|
NetworkAgent* agent = wxGetApp().getAgent();
|
||||||
AppConfig* config = GUI::wxGetApp().app_config;
|
AppConfig* config = GUI::wxGetApp().app_config;
|
||||||
if (agent) {
|
if (agent) {
|
||||||
MessageDialog msg_wingow(this, _L("Changing the region will log out your account.\n") + "\n" + _L("Do you want to continue?"), L("Region selection"),
|
MessageDialog msg_wingow(this, _L("Changing the region will log out your account.\n") + "\n" + _L("Do you want to continue?"), _L("Region selection"),
|
||||||
wxICON_QUESTION | wxOK | wxCANCEL);
|
wxICON_QUESTION | wxOK | wxCANCEL);
|
||||||
if (msg_wingow.ShowModal() == wxID_CANCEL) {
|
if (msg_wingow.ShowModal() == wxID_CANCEL) {
|
||||||
combobox->SetSelection(current_region);
|
combobox->SetSelection(current_region);
|
||||||
|
|||||||
Reference in New Issue
Block a user