Salome HOME
detached views can be correctly embedded in Python modules without GUI modification...
[modules/gui.git] / src / LightApp / LightApp_Application.cxx
index 9aee3eebe7872746afec3282da25038bd6146a30..c806a001858b7f0a4c0bef84648b217b05185b98 100644 (file)
@@ -1469,7 +1469,7 @@ SUIT_ViewManager* LightApp_Application::getViewManager( const QString& vmType, c
       aVM = anActiveVM;
     }
 
-  if ( aVM && create )
+  if ( aVM && !aVM->getDetached() && create )
   {
     if ( !aVM->getActiveView() )
       {