mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-01 06:32:01 +08:00
Added missed include
+ Added update of overrided settings, if they are shown on sidebar
This commit is contained in:
parent
a966a46896
commit
ee38d80318
@ -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…
x
Reference in New Issue
Block a user