]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
nom du signet dans le tabview
authorPascale Noyret <pascale.noyret@edf.fr>
Mon, 29 Oct 2007 12:43:46 +0000 (12:43 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Mon, 29 Oct 2007 12:43:46 +0000 (12:43 +0000)
InterfaceQT/compomacro.py

index 5c959402541838c2540933adf2e8efc221c76fdb..79f2663ba17af8d5970b46d6050216b0502483be 100644 (file)
@@ -53,7 +53,6 @@ class INCLUDENode(browser.JDCNode,typeNode.PopUpMenuNode):
       typeNode.PopUpMenuNode.createPopUpMenu(self)
       self.menu.insertItem( qApp.translate('Browser','Edit'), self.makeEdit )
       
-
     def makeEdit(self):    #,appli,node
         if self.item.object.text_converted == 0:
                 # Le texte du fichier inclus n'a pas pu etre converti par le module convert
@@ -66,13 +65,12 @@ class INCLUDENode(browser.JDCNode,typeNode.PopUpMenuNode):
                self.item.object.build_include(None,"")
     
         # On cree un nouvel onglet dans le bureau
-        self.editor.vm.displayJDC( self.item.object.jdc_aux ) #, self.item.object.jdc_aux.nom )                                
+        self.editor.vm.displayJDC( self.item.object.jdc_aux , self.item.object.jdc_aux.nom.split("/")[-1] )                                
     
     def makeView(self):#,appli,node):
         pass #CS_pbruno todo
   
 
-
 class INCLUDETreeItem(INCLUDETreeItemBase):
     itemNode=INCLUDENode