mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fix crash on printer UI
This commit is contained in:
@@ -1385,8 +1385,8 @@ void Sidebar::update_presets(Preset::Type preset_type)
|
|||||||
/* update bed shape */
|
/* update bed shape */
|
||||||
Tab* printer_tab = wxGetApp().get_tab(Preset::TYPE_PRINTER);
|
Tab* printer_tab = wxGetApp().get_tab(Preset::TYPE_PRINTER);
|
||||||
if (printer_tab) {
|
if (printer_tab) {
|
||||||
printer_tab->on_preset_loaded();
|
|
||||||
printer_tab->update();
|
printer_tab->update();
|
||||||
|
printer_tab->on_preset_loaded();
|
||||||
}
|
}
|
||||||
|
|
||||||
Preset& printer_preset = wxGetApp().preset_bundle->printers.get_edited_preset();
|
Preset& printer_preset = wxGetApp().preset_bundle->printers.get_edited_preset();
|
||||||
|
|||||||
Reference in New Issue
Block a user