From 4487b95652cd53c8727848c62dfc74062e7e1413 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Fri, 4 Dec 2009 10:00:27 +0000 Subject: [PATCH] Fixed other multi-study issues. --- src/EFICASGUI/eficasSalome.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 2a57e054..4d30fac9 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -365,7 +365,6 @@ class MyEficas( qtEficas.Appli ): """ names, msg = [], '' try: - self.editor=editor atLeastOneStudy = self.editor.study if not atLeastOneStudy: return names, msg @@ -458,9 +457,10 @@ class MyEficas( qtEficas.Appli ): """ ok, msgError = False, '' try: - import VISU + import VISU import visu_gui - currentViewType = None + currentViewType = None + visu_gui.myVisu.SetCurrentStudy(self.editor.study) m = visu_gui.myVisu.GetViewManager() v = m.GetCurrentView() print v -- 2.39.2