Fix assert on empty datadir
This commit is contained in:
parent
7c3319ede2
commit
d3fa82e41b
2 changed files with 2 additions and 1 deletions
|
@ -194,6 +194,8 @@ bool GUI_App::OnInit()
|
|||
preset_updater->slic3r_update_notify();
|
||||
}
|
||||
preset_updater->sync(preset_bundle);
|
||||
|
||||
load_current_presets();
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -155,7 +155,6 @@ void MainFrame::create_preset_tabs()
|
|||
add_created_tab(new TabSLAPrint(m_tabpanel));
|
||||
add_created_tab(new TabSLAMaterial(m_tabpanel));
|
||||
add_created_tab(new TabPrinter(m_tabpanel));
|
||||
GUI::wxGetApp().load_current_presets();
|
||||
}
|
||||
|
||||
void MainFrame::add_created_tab(Tab* panel)
|
||||
|
|
Loading…
Reference in a new issue