From b8ff79fa00d880bd7f1719407c71947d99a3ce11 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Mon, 29 Oct 2007 12:43:46 +0000 Subject: [PATCH] nom du signet dans le tabview --- InterfaceQT/compomacro.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/InterfaceQT/compomacro.py b/InterfaceQT/compomacro.py index 5c959402..79f2663b 100644 --- a/InterfaceQT/compomacro.py +++ b/InterfaceQT/compomacro.py @@ -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 -- 2.39.2