Salome HOME
Issue #1303 Re-ordering of Sketcher menus: Delete to be the last
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetValidated.cpp
index 0bc4aef1a1ab71808bd8874ef33e30a5f6a3dd78..7e85bce2e5fcdb2eb7e80761627ee2b89510ce6e 100644 (file)
@@ -28,7 +28,7 @@ ModuleBase_WidgetValidated::ModuleBase_WidgetValidated(QWidget* theParent,
                                                        ModuleBase_IWorkshop* theWorkshop,
                                                        const Config_WidgetAPI* theData)
 : ModuleBase_ModelWidget(theParent, theData),
-  myWorkshop(theWorkshop)
+  myWorkshop(theWorkshop), myIsInValidate(false)
 {
   myAttributeStore = new ModuleBase_WidgetSelectorStore();
 }
@@ -48,7 +48,7 @@ ObjectPtr ModuleBase_WidgetValidated::findPresentedObject(const AISObjectPtr& th
 void ModuleBase_WidgetValidated::clearValidatedCash()
 {
 #ifdef DEBUG_VALID_STATE
-  qDebug("clearValidatedState");
+  qDebug("clearValidatedCash");
 #endif
   myValidPrs.clear();
   myInvalidPrs.clear();