]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Undo the previous changes because of regression ("Hide" doesn't work for "sinus"...
authordmv <dmv@opencascade.com>
Mon, 24 Nov 2008 09:50:54 +0000 (09:50 +0000)
committerdmv <dmv@opencascade.com>
Mon, 24 Nov 2008 09:50:54 +0000 (09:50 +0000)
src/VISUGUI/VisuGUI_Tools.cxx

index 73a6d4a8cc43ce2b6ee77efa34ce2a77e94a6887..1c1cd773d900a0cad7ab6b0108d3c0853ab5e1b3 100644 (file)
@@ -1006,7 +1006,7 @@ namespace VISU
             for ( int i = 0; i < clist.count(); i++ ) {
               tmpCurve = dynamic_cast<SPlot2d_Curve*>( clist.at( i ) );
               if (tmpCurve && tmpCurve->hasIO() &&
-                  theCurve->GetEntry() != tmpCurve->getIO()->getEntry()) {
+                  theCurve->GetEntry() == tmpCurve->getIO()->getEntry()) {
                 plotCurve = tmpCurve;
                 break;
               }