From: mkr Date: Mon, 30 Jan 2006 09:29:41 +0000 (+0000) Subject: Fix for bug IPAL11388 : It is impossible to switch between viewers after import of... X-Git-Tag: mergeto_trunk_07Feb06~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b6afe905fce54b093a77ca9f9fca021225b3560f;p=modules%2Fsuperv.git Fix for bug IPAL11388 : It is impossible to switch between viewers after import of two graphs. --- 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"));