mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
PresetUpdater: Fix a race condition
This commit is contained in:
parent
d8c7966bec
commit
e6f7af64a7
3 changed files with 11 additions and 7 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue