]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
Fixed other multi-study issues.
authorRenaud Barate <renaud.barate@edf.fr>
Fri, 4 Dec 2009 10:00:27 +0000 (10:00 +0000)
committerRenaud Barate <renaud.barate@edf.fr>
Fri, 4 Dec 2009 10:00:27 +0000 (10:00 +0000)
src/EFICASGUI/eficasSalome.py

index 2a57e054d29910a04cbd943058ae5f66a482fa63..4d30fac9b268e91368930298e8950554e60008f5 100644 (file)
@@ -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