From: asl Date: Tue, 7 Jun 2005 09:22:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: T3_0_0_a2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1848418276fd649167f5680e4488dc8c39a6aa51;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/SalomeApp/SalomeApp_Selection.cxx b/src/SalomeApp/SalomeApp_Selection.cxx index 85bcc90c7..f7057121e 100644 --- a/src/SalomeApp/SalomeApp_Selection.cxx +++ b/src/SalomeApp/SalomeApp_Selection.cxx @@ -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* ) { } diff --git a/src/SalomeApp/SalomeApp_Selection.h b/src/SalomeApp/SalomeApp_Selection.h index 5539a7f5a..a9134f93f 100644 --- a/src/SalomeApp/SalomeApp_Selection.h +++ b/src/SalomeApp/SalomeApp_Selection.h @@ -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;