Salome HOME
Issue #559: Control doesn't have variable if its text is empty
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.cpp
index 315be91780a0db0180dafdbfb6879b70d77ce351..1f759feb5b70a88fd16ccb21f74633a50c27ca23 100644 (file)
@@ -113,8 +113,7 @@ void ModuleBase_IModule::actionCreated(QAction* theFeature)
 
 bool ModuleBase_IModule::canDisplayObject(const ObjectPtr& theObject) const
 {
-  ModuleBase_Operation* anOperation = myWorkshop->currentOperation();
-  return anOperation && anOperation->hasObject(theObject);
+  return true;
 }
 
 bool ModuleBase_IModule::canUndo() const