From 1b08bc94f07930a5ebeb659f785b67a7c9eb6115 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 4 Apr 2018 11:13:28 +0200 Subject: [PATCH] Added g_wiping_dialog_button status update to update_frequently_changed_parameters() --- xs/src/slic3r/GUI/Tab.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xs/src/slic3r/GUI/Tab.cpp b/xs/src/slic3r/GUI/Tab.cpp index 1d92439f9..534cd3aa9 100644 --- a/xs/src/slic3r/GUI/Tab.cpp +++ b/xs/src/slic3r/GUI/Tab.cpp @@ -372,6 +372,10 @@ void Tab::update_frequently_changed_parameters() bool val = m_config->opt_float("brim_width") > 0.0 ? true : false; 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()