From b7d6c93c36800cec7bbbc42f084adfca3d09c269 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Tue, 30 Jul 2019 12:06:51 +0200 Subject: [PATCH] Suppressed editing of overridden options only if "filament_retract_length" == 0 --- src/slic3r/GUI/Tab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index eeb2317ea7..493dad4751 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1579,7 +1579,7 @@ void TabFilament::update_filament_overrides_page() const int extruder_idx = 0; // #ys_FIXME - const bool have_retract_length = m_config->option("filament_retract_length")->is_nil() ? false : + const bool have_retract_length = m_config->option("filament_retract_length")->is_nil() || m_config->opt_float("filament_retract_length", extruder_idx) > 0; for (const std::string& opt_key : opt_keys)