]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
"client" parameter is returned now ONLY by globalParam() function.
authorasv <asv@opencascade.com>
Fri, 8 Jul 2005 10:59:32 +0000 (10:59 +0000)
committerasv <asv@opencascade.com>
Fri, 8 Jul 2005 10:59:32 +0000 (10:59 +0000)
src/SalomeApp/SalomeApp_Selection.cxx

index d3e26a3048bb664802f922c3c9e4808c554ba9b5..4bba5366222b56e99d6132ce1d25adff237d52e5 100644 (file)
@@ -48,16 +48,13 @@ int SalomeApp_Selection::count() const
 
 QtxValue SalomeApp_Selection::param( const int, const QString& p ) const
 {
-  if( p=="client" )
-    return myPopupClient;
-  else    
-    return QtxValue();
+  return QtxValue();
 }
 
 QtxValue SalomeApp_Selection::globalParam( const QString& p ) const
 {
   if( p=="client" )
-    return myPopupClient;
+    return QtxValue( myPopupClient );
   else if ( p=="activeView" )
     {
       QString aViewType = "";