]> 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:49:47 +0000 (09:49 +0000)
committerdmv <dmv@opencascade.com>
Mon, 24 Nov 2008 09:49:47 +0000 (09:49 +0000)
src/VISUGUI/VisuGUI_Tools.cxx

index 42931d4267c90d814bafdab88f94c69c705bc1d2..189c067f16c8c9d1740b1a93636225430d849f92 100644 (file)
@@ -1003,7 +1003,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;
               }