]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorasl <asl@opencascade.com>
Tue, 7 Jun 2005 09:22:36 +0000 (09:22 +0000)
committerasl <asl@opencascade.com>
Tue, 7 Jun 2005 09:22:36 +0000 (09:22 +0000)
src/SalomeApp/SalomeApp_Selection.cxx
src/SalomeApp/SalomeApp_Selection.h

index 85bcc90c7391437ebe2da5acea344a19d423c9bb..f7057121ee774ece6bff2ecea8494fb15b94948c 100644 (file)
@@ -46,14 +46,19 @@ 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& ) const
 {
-  if ( p == "client" ) 
-    return myPopupClient;
-
   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* )
 {
 }
index 5539a7f5acb66c73474fde6ce7f42f69911b633b..a9134f93f4f2583d4088a0ba0ee4433f52fedc7d 100644 (file)
@@ -48,6 +48,7 @@ public:
 
   virtual int                    count() const;
   virtual QtxValue               param( const int, const QString& ) const;
+  virtual QtxValue               globalParam( const QString& ) const;
 
 protected:
   QString                        entry( const int ) const;