1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-14 08:34:26 +00:00

PresetUpdater: Fix a race condition

This commit is contained in:
Vojtech Kral
2019-02-14 16:51:41 +01:00
parent d8c7966bec
commit e6f7af64a7
3 changed files with 11 additions and 7 deletions
+4
View File
@@ -127,6 +127,10 @@ bool GUI_App::OnInit()
app_config->save();
preset_updater = new PresetUpdater();
Bind(EVT_SLIC3R_VERSION_ONLINE, [this](const wxCommandEvent &evt) {
app_config->set("version_online", into_u8(evt.GetString()));
app_config->save();
});
load_language();