TabFilament: Implemented color mode update for Extruder combobox
This commit is contained in:
parent
47cdd7d9c4
commit
735fe8952a
@ -2267,6 +2267,14 @@ void TabFilament::msw_rescale()
|
|||||||
Tab::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()
|
void TabFilament::load_current_preset()
|
||||||
{
|
{
|
||||||
assert(m_active_extruder >= 0 && m_active_extruder < m_preset_bundle->extruders_filaments.size());
|
assert(m_active_extruder >= 0 && m_active_extruder < m_preset_bundle->extruders_filaments.size());
|
||||||
|
@ -462,6 +462,7 @@ public:
|
|||||||
void update() override;
|
void update() override;
|
||||||
void clear_pages() override;
|
void clear_pages() override;
|
||||||
void msw_rescale() override;
|
void msw_rescale() override;
|
||||||
|
void sys_color_changed() override;
|
||||||
bool supports_printer_technology(const PrinterTechnology tech) const override { return tech == ptFFF; }
|
bool supports_printer_technology(const PrinterTechnology tech) const override { return tech == ptFFF; }
|
||||||
void load_current_preset() override;
|
void load_current_preset() override;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user