]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Fix for bug IPAL11388 : It is impossible to switch between viewers after import of...
authormkr <mkr@opencascade.com>
Mon, 30 Jan 2006 09:29:41 +0000 (09:29 +0000)
committermkr <mkr@opencascade.com>
Mon, 30 Jan 2006 09:29:41 +0000 (09:29 +0000)
src/SUPERVGUI/SUPERVGUI_Main.cxx

index db4c6a2d5a1556c33bc0d2d77a5aefcca2cb4ea0..2454c7555818cd45ffb36aa07e6d6587e6273e64 100644 (file)
@@ -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"));