Salome HOME
IPAL9182: linking to libSPlot2d.so added
[modules/gui.git] / src / SalomeApp / SalomeApp_Selection.cxx
index 85bcc90c7391437ebe2da5acea344a19d423c9bb..4b67930bdaf1e4a637863025fc15e0a9c047df40 100644 (file)
@@ -46,12 +46,20 @@ int SalomeApp_Selection::count() const
   return myEntries.count();
 }
 
-QtxValue SalomeApp_Selection::param( const int ind, const QString& p ) const
+QtxValue SalomeApp_Selection::param( const int, const QString& p ) const
 {
-  if ( p == "client" ) 
+  if( p=="client" )
     return myPopupClient;
+  else    
+    return QtxValue();
+}
 
-  return QtxValue();
+QtxValue SalomeApp_Selection::globalParam( const QString& p ) const
+{
+  if( p=="client" )
+    return myPopupClient;
+  else
+    return QtxPopupMgr::Selection::globalParam( p );
 }
 
 void SalomeApp_Selection::processOwner( const SalomeApp_DataOwner* )