From 492abfccb9767275805e1e2a752f485454f05935 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 20 May 2005 12:03:30 +0000 Subject: [PATCH] reject() onFrameActivated() only if isVisible() --- src/VISUGUI/VisuGUI_Plot3DDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.2