mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fix assert on empty datadir
This commit is contained in:
@@ -194,6 +194,8 @@ bool GUI_App::OnInit()
|
|||||||
preset_updater->slic3r_update_notify();
|
preset_updater->slic3r_update_notify();
|
||||||
}
|
}
|
||||||
preset_updater->sync(preset_bundle);
|
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 TabSLAPrint(m_tabpanel));
|
||||||
add_created_tab(new TabSLAMaterial(m_tabpanel));
|
add_created_tab(new TabSLAMaterial(m_tabpanel));
|
||||||
add_created_tab(new TabPrinter(m_tabpanel));
|
add_created_tab(new TabPrinter(m_tabpanel));
|
||||||
GUI::wxGetApp().load_current_presets();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainFrame::add_created_tab(Tab* panel)
|
void MainFrame::add_created_tab(Tab* panel)
|
||||||
|
|||||||
Reference in New Issue
Block a user