]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
fix QtxLogic::calculate()
authoreap <eap@opencascade.com>
Thu, 2 Jun 2005 14:44:16 +0000 (14:44 +0000)
committereap <eap@opencascade.com>
Thu, 2 Jun 2005 14:44:16 +0000 (14:44 +0000)
src/Qtx/QtxStdOperations.cxx

index a81c1aad6906ae4a69af84b41cd3686749fd3a91..f1052e2f2bc2ceb88ea1f79cec17b4f9887e104e 100644 (file)
@@ -360,7 +360,7 @@ QtxParser::Error QtxLogic::calculate( const QString& op,
     }
     else
         if( op=="not" || op=="!" )
-            v2 = !v2.toBool();
+            set( v2, !v2.toBool() );
 
     return err;
 }