optimize UI: hide flushing_volume_btn for multi tool

This commit is contained in:
SoftFever 2024-07-12 23:17:50 +08:00
parent 4bca54873d
commit dd8ce17693
3 changed files with 6 additions and 4 deletions

View file

@ -1434,7 +1434,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value)
if (opt_key == "single_extruder_multi_material" ){
const auto bSEMM = m_config->opt_bool("single_extruder_multi_material");
wxGetApp().sidebar().show_add_del_filament_button(bSEMM);
wxGetApp().sidebar().show_SEMM_buttons(bSEMM);
wxGetApp().get_tab(Preset::TYPE_PRINT)->update();
}