]> SALOME platform Git repositories - tools/eficas.git/blobdiff - InterfaceQT4/compocomm.py
Salome HOME
onItem=Deplie
[tools/eficas.git] / InterfaceQT4 / compocomm.py
index f86c5696cedda68e811815fead6d6dcfd5a69d6b..a0c803728f9a05947633b89087a63d08b4a36426 100644 (file)
@@ -33,13 +33,13 @@ class Node(browser.JDCNode,typeNode.PopUpMenuNodePartiel):
     def getPanel( self ):
         """
         """
-        from monCommentairePanel import MonCommentairePanel
-        return MonCommentairePanel(self,parent=self.editor)
+        from monWidgetCommentaire import MonWidgetCommentaire
+        return MonWidgetCommentaire(self,self.editor,self.item.object)
 
     def createPopUpMenu(self):
         typeNode.PopUpMenuNodePartiel.createPopUpMenu(self)
         self.Decommente = QAction(tr("Decommenter"),self.tree)
-        self.tree.connect(self.Decommente,SIGNAL("activated()"),self.Decommenter)
+        self.tree.connect(self.Decommente,SIGNAL("triggered()"),self.Decommenter)
         self.Decommente.setStatusTip(tr("Decommente la commande "))
 
         if hasattr(self.item,'uncomment'):