mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 14:06:32 +01:00
PresetUpdater: Fix a race condition
This commit is contained in:
1 parent
d8c7966bec
commit
e6f7af64a7
3 files changed
+11
-7
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user