Added missed include
+ Added update of overrided settings, if they are shown on sidebar
This commit is contained in:
parent
a966a46896
commit
ee38d80318
2 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <vector>
|
||||
#include <wx/panel.h>
|
||||
#include "wxExtensions.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
|
||||
class wxBoxSizer;
|
||||
|
||||
|
|
|
@ -1509,6 +1509,9 @@ void TabPrint::update()
|
|||
|
||||
if (m_update_cnt==0) {
|
||||
m_config_manipulation.toggle_print_fff_options(m_config);
|
||||
|
||||
wxGetApp().obj_list()->update_and_show_object_settings_item();
|
||||
|
||||
wxGetApp().mainframe->on_config_changed(m_config);
|
||||
}
|
||||
}
|
||||
|
@ -3893,6 +3896,9 @@ void TabSLAPrint::update()
|
|||
|
||||
if (m_update_cnt == 0) {
|
||||
m_config_manipulation.toggle_print_sla_options(m_config);
|
||||
|
||||
wxGetApp().obj_list()->update_and_show_object_settings_item();
|
||||
|
||||
wxGetApp().mainframe->on_config_changed(m_config);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue