From: eap Date: Fri, 20 May 2005 12:03:30 +0000 (+0000) Subject: reject() onFrameActivated() only if isVisible() X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=492abfccb9767275805e1e2a752f485454f05935;p=modules%2Fvisu.git reject() onFrameActivated() only if isVisible() --- diff --git a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx index b8f4e69a..2c3f8da5 100644 --- a/src/VISUGUI/VisuGUI_Plot3DDlg.cxx +++ b/src/VISUGUI/VisuGUI_Plot3DDlg.cxx @@ -629,6 +629,6 @@ void VisuGUI_Plot3DDlg::reject() //======================================================================= void VisuGUI_Plot3DDlg::onFrameActivated( QAD_StudyFrame* theFrame) { - if (theFrame != myIsoPane->GetStudyFrame() ) + if ( isVisible() && theFrame != myIsoPane->GetStudyFrame() ) reject(); }