Salome HOME
Splash screen was implemented. Changes in packages SUIT and Session are integrated.
[modules/gui.git] / src / Qtx / QtxStdOperations.cxx
index c87990d3048be37a58dafcf0b7f3ed6c55bdef6a..5301bfef8fd7d7d35d97b1d19f4fa045a3a1fa29 100644 (file)
@@ -796,7 +796,10 @@ QtxParser::Error QtxSets::calculate( const QString& op, QtxValue& v1, QtxValue&
                 set( v1, res );
             }
             else
-                v1 = v2.toList().contains( v1 );
+           {
+             const QValueList< QVariant >& list = v2.toList();
+             v1 = ( bool )( list.find( v1 )!=list.end() );
+           }
         }
 
     return err;