mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Added show/hide of "Purging volumes" button depending on a state of "wipe_tower"
This commit is contained in:
parent
e5f23bc11d
commit
d54425a901
5 changed files with 22 additions and 11 deletions
|
@ -335,7 +335,11 @@ void Tab::on_value_change(std::string opt_key, boost::any value)
|
|||
bool val = m_config->opt_float("brim_width") > 0.0 ? true : false;
|
||||
get_optgroup()->set_value("brim", val);
|
||||
}
|
||||
|
||||
if (opt_key == "wipe_tower"){
|
||||
m_config->opt_bool("wipe_tower") ?
|
||||
get_wiping_dialog_button()->Show() :
|
||||
get_wiping_dialog_button()->Hide();
|
||||
}
|
||||
|
||||
update();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue