Added g_wiping_dialog_button status update to update_frequently_changed_parameters()

This commit is contained in:
YuSanka 2018-04-04 11:13:28 +02:00
parent d54425a901
commit 1b08bc94f0

View file

@ -372,6 +372,10 @@ void Tab::update_frequently_changed_parameters()
bool val = m_config->opt_float("brim_width") > 0.0 ? true : false; bool val = m_config->opt_float("brim_width") > 0.0 ? true : false;
get_optgroup()->set_value("brim", val); get_optgroup()->set_value("brim", val);
m_config->opt_bool("wipe_tower") ?
get_wiping_dialog_button()->Show() :
get_wiping_dialog_button()->Hide();
} }
void Tab::reload_compatible_printers_widget() void Tab::reload_compatible_printers_widget()