From: dmv Date: Mon, 24 Nov 2008 09:49:47 +0000 (+0000) Subject: Undo the previous changes because of regression ("Hide" doesn't work for "sinus"... X-Git-Tag: V4_1_0_maintainance_20081128~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb50178be8ed5000ff24d00344fd858efc396e06;p=modules%2Fvisu.git Undo the previous changes because of regression ("Hide" doesn't work for "sinus" object) --- diff --git a/src/VISUGUI/VisuGUI_Tools.cxx b/src/VISUGUI/VisuGUI_Tools.cxx index 42931d42..189c067f 100644 --- a/src/VISUGUI/VisuGUI_Tools.cxx +++ b/src/VISUGUI/VisuGUI_Tools.cxx @@ -1003,7 +1003,7 @@ namespace VISU for ( int i = 0; i < clist.count(); i++ ) { tmpCurve = dynamic_cast( clist.at( i ) ); if (tmpCurve && tmpCurve->hasIO() && - theCurve->GetEntry() != tmpCurve->getIO()->getEntry()) { + theCurve->GetEntry() == tmpCurve->getIO()->getEntry()) { plotCurve = tmpCurve; break; }