From ceabd4308ac554cc07d3f99eecf44f5581b465a3 Mon Sep 17 00:00:00 2001 From: akl Date: Tue, 14 Apr 2015 12:56:39 +0400 Subject: [PATCH] 23045: EDF 10641 GUI: Demo plugin is not loaded anymore when closing a study. --- src/SalomeApp/salome_pluginsmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2