From: nds Date: Tue, 6 Sep 2016 06:21:24 +0000 (+0300) Subject: Disable sketch input fields unconditionally. X-Git-Tag: V_2.5.0~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=26d86199535820c6080ad582470b04e1bbff6152;p=modules%2Fshaper.git Disable sketch input fields unconditionally. --- 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;