From b6afe905fce54b093a77ca9f9fca021225b3560f Mon Sep 17 00:00:00 2001 From: mkr Date: Mon, 30 Jan 2006 09:29:41 +0000 Subject: [PATCH] Fix for bug IPAL11388 : It is impossible to switch between viewers after import of two graphs. --- src/SUPERVGUI/SUPERVGUI_Main.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SUPERVGUI/SUPERVGUI_Main.cxx b/src/SUPERVGUI/SUPERVGUI_Main.cxx index db4c6a2..2454c75 100644 --- a/src/SUPERVGUI/SUPERVGUI_Main.cxx +++ b/src/SUPERVGUI/SUPERVGUI_Main.cxx @@ -79,7 +79,8 @@ SUPERVGUI_Main::SUPERVGUI_Main( SUPERVGraph_ViewFrame* theParent, //myExecuted( false ) { Trace("SUPERVGUI_Main::SUPERVGUI_Main (copy)"); - theParent->setViewWidget(this); + setFocusPolicy( StrongFocus ); // mkr : IPAL11388 + theParent->setViewWidget(this); dataflow = theDataFlow; if (SUPERV_isNull(dataflow)) { QMessageBox::warning(0, tr("ERROR"), tr("MSG_CANT_COPY")); -- 2.39.2