]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
correction bug mineur
authorPascale Noyret <pascale.noyret@edf.fr>
Fri, 3 Dec 2010 13:55:19 +0000 (13:55 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Fri, 3 Dec 2010 13:55:19 +0000 (13:55 +0000)
InterfaceQT4/compomacro.py

index 961be5be1a5e30af9e60f6e5a0a433746a368162..aec67efe30042886c05712f3e8bbf549de3024ca 100644 (file)
@@ -53,7 +53,6 @@ class INCLUDENode(browser.JDCNode,typeNode.PopUpMenuNode):
 
     def createPopUpMenu(self):
       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:
@@ -85,7 +84,6 @@ class POURSUITENode(browser.JDCNode, typeNode.PopUpMenuNode):
 
     def createPopUpMenu(self):
       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:
@@ -118,7 +116,6 @@ class MATERIAUNode(MACRONode):
 
     def createPopUpMenu(self):
       typeNode.PopUpMenuNode.createPopUpMenu(self)
-      self.menu.insertItem( qApp.translate('Browser','View'), self.makeView )
 
     def makeView(self) :
       if hasattr(self.item.object,'fichier_ini') and self.item.object.fichier_ini==None: