]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
reject() onFrameActivated() only if isVisible()
authoreap <eap@opencascade.com>
Fri, 20 May 2005 12:03:30 +0000 (12:03 +0000)
committereap <eap@opencascade.com>
Fri, 20 May 2005 12:03:30 +0000 (12:03 +0000)
src/VISUGUI/VisuGUI_Plot3DDlg.cxx

index b8f4e69a684e0d0d8018076471c1e5858889153c..2c3f8da53f2f6738c6c482e06304e3cf580658eb 100644 (file)
@@ -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();
 }