From: Renaud Barate Date: Fri, 4 Dec 2009 10:00:27 +0000 (+0000) Subject: Fixed other multi-study issues. X-Git-Tag: V5_1_3_beta1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4487b95652cd53c8727848c62dfc74062e7e1413;p=modules%2Feficas.git Fixed other multi-study issues. --- 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