X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2Fcompooper.py;h=595843c12b40aea92581120c8d5a4ad2728b2e6c;hb=80eb29926b88137b9f0f19175c0d0c52d7dcc206;hp=a895160c714f454750f5193c44116490258b0bb0;hpb=45496e147f519f4e64795eff3f414cc65b72c1fd;p=tools%2Feficas.git diff --git a/InterfaceQT4/compooper.py b/InterfaceQT4/compooper.py index a895160c..595843c1 100644 --- a/InterfaceQT4/compooper.py +++ b/InterfaceQT4/compooper.py @@ -72,7 +72,7 @@ class Node(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() : @@ -81,7 +81,7 @@ class Node(browser.JDCNode, typeNode.PopUpMenuNode): self.ViewElt.setEnabled(0) if self.item.get_nom() == "DISTRIBUTION" : self.Graphe = QAction(tr('Graphique'),self.tree) - self.tree.connect(self.Graphe,SIGNAL("activated()"),self.viewPng) + self.tree.connect(self.Graphe,SIGNAL("triggered()"),self.viewPng) self.Graphe.setStatusTip(tr("affiche la distribution ")) self.menu.addAction(self.Graphe) if self.item.isvalid() :