Salome HOME
linux/windows
[tools/eficas.git] / InterfaceQT4 / compomacro.py
index 12849ab0ec85dcc5369b7154e67e0ab01fc1fb43..2d8e030a15d298ffc8b1295db4155c94e17e7024 100644 (file)
@@ -47,7 +47,7 @@ class MACRONode(browser.JDCNode,typeNode.PopUpMenuNode):
       typeNode.PopUpMenuNode.createPopUpMenu(self)
       if ("AFFE_CARA_ELEM" in self.item.get_genealogie()) and self.editor.salome:
            self.ViewElt = QAction(tr('View3D'),self.tree)
-           self.tree.connect(self.ViewElt,SIGNAL("activated()"),self.view3D)
+           self.tree.connect(self.ViewElt,SIGNAL("triggered()"),self.view3D)
            self.ViewElt.setStatusTip(tr("affiche dans Geom les elements de structure"))
            self.menu.addAction(self.ViewElt)
            if self.item.isvalid() :
@@ -61,11 +61,6 @@ class MACRONode(browser.JDCNode,typeNode.PopUpMenuNode):
         troisD.envoievisu()
 
         
-    #def doPaste(self,node_selected):
-    #    print 'je suis la'
-    #    objetACopier = self.item.get_copie_objet()
-    #    child=self.append_brother(objetACopier)
-    #    return child
 
     
 class MACROTreeItem(compooper.EtapeTreeItem):