]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
23045: EDF 10641 GUI: Demo plugin is not loaded anymore when closing a study.
authorakl <alexander.kovalev@opencascade.com>
Tue, 14 Apr 2015 08:56:39 +0000 (12:56 +0400)
committerakl <alexander.kovalev@opencascade.com>
Tue, 14 Apr 2015 08:56:39 +0000 (12:56 +0400)
src/SalomeApp/salome_pluginsmanager.py

index c877a3e9bf5662c6f0ec15d836b935fef4c14b6f..944757301f69d8ce0c47f2e8df9c6f25c107be4c 100644 (file)
@@ -244,7 +244,7 @@ class PluginsManager:
           self.menu.clear()
           self.menu.menuAction().setVisible(False)
           return
-        elif self.lasttime ==0:
+        elif self.lasttime ==0 or salome.myStudy == None:
           salome.salome_init(embedded=1)
 
         lasttime=0