Salome HOME
Compute dlg must be non-modal
authoreap <eap@opencascade.com>
Fri, 30 Jan 2009 08:14:47 +0000 (08:14 +0000)
committereap <eap@opencascade.com>
Fri, 30 Jan 2009 08:14:47 +0000 (08:14 +0000)
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx

index 9a6f5dbdc22f68c3f8417228d555e1df4ed631fc..147a6a46403c70757003e42ea855c45e591584f8 100644 (file)
@@ -1217,7 +1217,8 @@ void SMESHGUI_BaseComputeOp::showComputeResult( const bool theMemoryLack,
     }
   }
   // show dialog and wait, becase Compute can be invoked from Preview operation
-  aCompDlg->exec();
+  //aCompDlg->exec(); // this way it becomes modal - impossible to rotate model in the Viewer
+  aCompDlg->show();
 }
 
 //================================================================================