From 1848418276fd649167f5680e4488dc8c39a6aa51 Mon Sep 17 00:00:00 2001 From: asl Date: Tue, 7 Jun 2005 09:22:36 +0000 Subject: [PATCH] *** empty log message *** --- src/SalomeApp/SalomeApp_Selection.cxx | 13 +++++++++---- src/SalomeApp/SalomeApp_Selection.h | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) 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; -- 2.39.2