From 26d86199535820c6080ad582470b04e1bbff6152 Mon Sep 17 00:00:00 2001 From: nds Date: Tue, 6 Sep 2016 09:21:24 +0300 Subject: [PATCH] Disable sketch input fields unconditionally. --- src/ModuleBase/ModuleBase_ModelWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModuleBase/ModuleBase_ModelWidget.cpp b/src/ModuleBase/ModuleBase_ModelWidget.cpp index ed373b038..97abfaec8 100644 --- a/src/ModuleBase/ModuleBase_ModelWidget.cpp +++ b/src/ModuleBase/ModuleBase_ModelWidget.cpp @@ -92,9 +92,9 @@ bool ModuleBase_ModelWidget::isValueEnabled() const bool anEnabled = true; if (myIsValueEnabled == DefinedInPreferences) { #ifdef DEBUG_ENABLE_SKETCH_INPUT_FIELDS - bool aCanDisable = true;//Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true"); + bool aCanDisable = false; #else - bool aCanDisable = Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true"); + bool aCanDisable = true;//Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true"); #endif if (aCanDisable) anEnabled = false; -- 2.39.2