Salome HOME
Issue #1854 Recover feature control update
[modules/shaper.git] / src / ModuleBase / ModuleBase_IModule.cpp
index 6327f8c100843697de958302c04cd0596f2d66e0..a96d676e5fb28ea55f560b954a9d06ecaaedf8d1 100644 (file)
@@ -32,7 +32,7 @@
 #include <QPushButton>
 
 ModuleBase_IModule::ModuleBase_IModule(ModuleBase_IWorkshop* theParent)
-  : QObject(theParent), myWorkshop(theParent) 
+  : QObject(theParent), myWorkshop(theParent)
 {
   connect(myWorkshop, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
 
@@ -72,11 +72,11 @@ void ModuleBase_IModule::launchModal(const QString& theCmdId)
 void ModuleBase_IModule::launchOperation(const QString& theCmdId)
 {
   /// selection should be obtained from workshop before ask if the operation can be started as
-  /// the canStartOperation method performs commit/abort of previous operation. 
+  /// the canStartOperation method performs commit/abort of previous operation.
   /// Sometimes commit/abort may cause selection clear(Sketch operation) as a result
   /// it will be lost and is not used for preselection.
   ModuleBase_ISelection* aSelection = myWorkshop->selection();
-  QList<ModuleBase_ViewerPrsPtr> aPreSelected = 
+  QList<ModuleBase_ViewerPrsPtr> aPreSelected =
     aSelection->getSelected(ModuleBase_ISelection::AllControls);
 
   if (!myWorkshop->canStartOperation(theCmdId))
@@ -235,7 +235,7 @@ bool ModuleBase_IModule::canActivateSelection(const ObjectPtr& theObject) const
   return !aFOperation || !aFOperation->hasObject(theObject);
 }
 
-void ModuleBase_IModule::operationResumed(ModuleBase_Operation* theOperation) 
+void ModuleBase_IModule::operationResumed(ModuleBase_Operation* theOperation)
 {
   emit resumed(theOperation);
 }