Salome HOME
An improvement to deselect a value in a shape selector control in the same way as...
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.cpp
index b83edb4c8d158e4233a4368875f232d6234ee576..1405ba5d620fb6d7da7997fa9a59a24b169597aa 100644 (file)
@@ -111,13 +111,13 @@ ObjectPtr XGUI_ModuleConnector::findPresentedObject(const AISObjectPtr& theAIS)
   return aDisp->getObject(theAIS);
 }
 
-void XGUI_ModuleConnector::setSelected(const QObjectPtrList& theFeatures)
+void XGUI_ModuleConnector::setSelected(const QList<ModuleBase_ViewerPrs>& theValues)
 {
   XGUI_Displayer* aDisp = myWorkshop->displayer();
-  if (theFeatures.isEmpty()) {
+  if (theValues.isEmpty()) {
     myWorkshop->selector()->clearSelection();
   } else {
-    aDisp->setSelected(theFeatures);
+    aDisp->setSelected(theValues);
   }    
 }