Fix crash on printer UI
This commit is contained in:
parent
47d154ebdb
commit
2fe68edc85
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue