]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
It removes stabilization fix, which is not necessary anymore because ModuleBase_Widge...
authornds <natalia.donis@opencascade.com>
Tue, 18 Aug 2015 09:11:38 +0000 (12:11 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 18 Aug 2015 09:12:01 +0000 (12:12 +0300)
src/ModuleBase/ModuleBase_ModelWidget.h
src/ModuleBase/ModuleBase_Operation.cpp
src/ModuleBase/ModuleBase_WidgetSelector.cpp
src/ModuleBase/ModuleBase_WidgetSelector.h

index cad3f174ca4166c214b8571c2c3f58b31d409789..bd9c15b0e0edb5ecc426b6f3ac9ee017c107b7d0 100644 (file)
@@ -44,9 +44,6 @@ Q_OBJECT
   {
   }
 
-  //TODO: nds stabilization hotfix
-  virtual void disconnectSignals() {};
-
   /// Fills the widget with default values
   /// \return true if the widget current value is reset
   virtual bool reset() { return false; };
index 60f5b1b0843beb568a15c516c4ba2ea97ce0b013..fb3bebd72a9a2513736b14eb7e140ed0242ef0a2 100644 (file)
@@ -255,15 +255,11 @@ void ModuleBase_Operation::onValuesChanged()
   myIsModified = true;
 }
 
-//TODO: nds stabilization hotfix
 void ModuleBase_Operation::commitOperation()
 {
   if(!myPropertyPanel) {
     return;
   }
-  ModuleBase_ModelWidget* aWidget = myPropertyPanel->activeWidget();
-  if (aWidget)
-    aWidget->disconnectSignals();
 }
 
 void ModuleBase_Operation::activateByPreselection()
index e2233ab7c96229ed3866d3d88f9117bd93a94184..5f57ebb15e4338277ac6c0dd60d2330361f9349e 100755 (executable)
@@ -26,12 +26,6 @@ ModuleBase_WidgetSelector::~ModuleBase_WidgetSelector()
 {
 }
 
-//TODO: nds stabilization hotfix
-void ModuleBase_WidgetSelector::disconnectSignals()
-{
-  disconnect(myWorkshop, SIGNAL(selectionChanged()), this, SLOT(onSelectionChanged()));
-}
-
 //********************************************************************
 void ModuleBase_WidgetSelector::getGeomSelection(const ModuleBase_ViewerPrs& thePrs,
                                                       ObjectPtr& theObject,
index 2d3796f67361806f73d5a5efb88083f59f89db7c..99af3ad74a5ccbc06ad14dc4e623734e4b322005 100755 (executable)
@@ -54,9 +54,6 @@ Q_OBJECT
   /// The methiod called when widget is deactivated
   virtual void deactivate();
 
-  //TODO: nds stabilization hotfix
-  virtual void disconnectSignals();
-
 protected:
   /// Activate or deactivate selection
   void activateSelection(bool toActivate);