mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 11:29:01 +08:00
Fix assert on empty datadir
This commit is contained in:
parent
7c3319ede2
commit
d3fa82e41b
@ -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…
x
Reference in New Issue
Block a user