FIX: [STUDIO-3097] The issue of changing the region in preferences

but keeping the region unchanged

Change-Id: I17b16145a9da2ae94354174a9b660e3183927025
This commit is contained in:
maosheng.wei 2023-06-13 10:05:42 +08:00 committed by Lane.Wei
parent 46fa0867fb
commit 4b2d52ac0c

View file

@ -268,7 +268,7 @@ wxBoxSizer *PreferencesDialog::create_item_region_combobox(wxString title, wxWin
area = "US"; area = "US";
else else
area = "Others";*/ area = "Others";*/
combobox->SetSelection(region_index);
NetworkAgent* agent = wxGetApp().getAgent(); NetworkAgent* agent = wxGetApp().getAgent();
AppConfig* config = GUI::wxGetApp().app_config; AppConfig* config = GUI::wxGetApp().app_config;
if (agent) { if (agent) {