Some fixes for the last commit

This commit is contained in:
YuSanka 2019-02-22 11:59:40 +01:00
parent 26833ee641
commit 2f71c38221
2 changed files with 4 additions and 0 deletions

View file

@ -830,6 +830,9 @@ void Tab::on_presets_changed()
// refresh the print or filament/sla_material tab page.
wxGetApp().get_tab(t)->load_current_preset();
}
// clear m_dependent_tabs after first update from select_preset()
// to avoid needless preset loading from update() function
m_dependent_tabs.clear();
// #ys_FIXME_to_delete
// wxCommandEvent event(EVT_TAB_PRESETS_CHANGED);