]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Disable sketch input fields unconditionally.
authornds <nds@opencascade.com>
Tue, 6 Sep 2016 06:21:24 +0000 (09:21 +0300)
committernds <nds@opencascade.com>
Tue, 6 Sep 2016 10:48:40 +0000 (13:48 +0300)
src/ModuleBase/ModuleBase_ModelWidget.cpp

index ed373b03844a03865d2a773814761cd0bace3f15..97abfaec8f59e3438c820ac4e3a8a345fa9382e7 100644 (file)
@@ -92,9 +92,9 @@ bool ModuleBase_ModelWidget::isValueEnabled() const
   bool anEnabled = true;\r
   if (myIsValueEnabled == DefinedInPreferences) {\r
 #ifdef DEBUG_ENABLE_SKETCH_INPUT_FIELDS\r
-    bool aCanDisable = true;//Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true");\r
+    bool aCanDisable = false;\r
 #else\r
-    bool aCanDisable = Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true");\r
+    bool aCanDisable = true;//Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true");\r
 #endif\r
     if (aCanDisable)\r
       anEnabled = false;\r