TabFilament: Implemented color mode update for Extruder combobox

This commit is contained in:
YuSanka 2023-06-09 15:15:33 +02:00
parent 47cdd7d9c4
commit 735fe8952a
2 changed files with 9 additions and 0 deletions

View File

@ -2267,6 +2267,14 @@ void TabFilament::msw_rescale()
Tab::msw_rescale();
}
void TabFilament::sys_color_changed()
{
m_extruders_cb->Clear();
update_extruder_combobox();
Tab::sys_color_changed();
}
void TabFilament::load_current_preset()
{
assert(m_active_extruder >= 0 && m_active_extruder < m_preset_bundle->extruders_filaments.size());

View File

@ -462,6 +462,7 @@ public:
void update() override;
void clear_pages() override;
void msw_rescale() override;
void sys_color_changed() override;
bool supports_printer_technology(const PrinterTechnology tech) const override { return tech == ptFFF; }
void load_current_preset() override;