From: akl Date: Tue, 14 Apr 2015 08:56:39 +0000 (+0400) Subject: 23045: EDF 10641 GUI: Demo plugin is not loaded anymore when closing a study. X-Git-Tag: V7_6_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ceabd4308ac554cc07d3f99eecf44f5581b465a3;p=modules%2Fgui.git 23045: EDF 10641 GUI: Demo plugin is not loaded anymore when closing a study. --- diff --git a/src/SalomeApp/salome_pluginsmanager.py b/src/SalomeApp/salome_pluginsmanager.py index c877a3e9b..944757301 100644 --- a/src/SalomeApp/salome_pluginsmanager.py +++ b/src/SalomeApp/salome_pluginsmanager.py @@ -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