mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-16 02:45:58 +08:00
Fix crash on printer UI
This commit is contained in:
parent
47d154ebdb
commit
2fe68edc85
@ -1385,8 +1385,8 @@ void Sidebar::update_presets(Preset::Type preset_type)
|
||||
/* update bed shape */
|
||||
Tab* printer_tab = wxGetApp().get_tab(Preset::TYPE_PRINTER);
|
||||
if (printer_tab) {
|
||||
printer_tab->on_preset_loaded();
|
||||
printer_tab->update();
|
||||
printer_tab->on_preset_loaded();
|
||||
}
|
||||
|
||||
Preset& printer_preset = wxGetApp().preset_bundle->printers.get_edited_preset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user