Salome HOME
Issue #1701 Preselecting before calling constraints does not put objects in the input...
[modules/shaper.git] / src / ModuleBase / ModuleBase_ModelWidget.cpp
index 77d58959b1bd322e45e6c5b51ae41e5309c3e09a..713adea890d132a12a0b4b231bf6a3190eb14d7e 100644 (file)
@@ -90,7 +90,7 @@ bool ModuleBase_ModelWidget::isValueEnabled() const
 {
   bool anEnabled = true;
   if (myIsValueEnabled == DefinedInPreferences) {
-    bool aCanDisable = Config_PropManager::boolean("Sketch planes", "disable_input_fields", "true");
+    bool aCanDisable = Config_PropManager::boolean(SKETCH_TAB_NAME, "disable_input_fields", "true");
     if (aCanDisable)
       anEnabled = false;
   }