From 13dddac7c331f5b04401c2f930977686df02ebcb Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Fri, 18 Jun 2010 14:48:51 +0000 Subject: [PATCH] pour permettre l entree d un parametre nul --- InterfaceQT4/monParamPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2