From: Pascale Noyret Date: Fri, 18 Jun 2010 14:48:51 +0000 (+0000) Subject: pour permettre l entree d un parametre nul X-Git-Tag: V2_0~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=13dddac7c331f5b04401c2f930977686df02ebcb;p=tools%2Feficas.git pour permettre l entree d un parametre nul --- diff --git a/InterfaceQT4/monParamPanel.py b/InterfaceQT4/monParamPanel.py index 2dcfae2a..dc839047 100644 --- a/InterfaceQT4/monParamPanel.py +++ b/InterfaceQT4/monParamPanel.py @@ -90,7 +90,7 @@ class MonParamPanel(DParam,QTPanelTBW2,QTPanel): self.Commentaire.setText(QString(commentaire)) self.editor.affiche_infos(commentaire,Qt.red) return - if not val : + if str(val) == "" : return self.node.item.set_nom(nom) self.node.item.set_valeur(val)