From: Renaud Barate Date: Thu, 16 Jun 2011 10:56:18 +0000 (+0000) Subject: Fix bug with monFonctionPanel: Removed values did not appear in LineEdit X-Git-Tag: V6_3_1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=209f2fcf5ff7a89338cd0272e9048888e54a0167;p=tools%2Feficas.git Fix bug with monFonctionPanel: Removed values did not appear in LineEdit --- diff --git a/InterfaceQT4/monFonctionPanel.py b/InterfaceQT4/monFonctionPanel.py index 4d9f2c62..5c3558fb 100644 --- a/InterfaceQT4/monFonctionPanel.py +++ b/InterfaceQT4/monFonctionPanel.py @@ -173,7 +173,9 @@ class MonFonctionPanel(MonPlusieursBasePanel): def Sup1Valeur(self): index=self.LBValeurs.currentRow() if index == None : return - self.LBValeurs.takeItem(index) + removed_item = self.LBValeurs.takeItem(index) + text = removed_item.text()[1:-1] # Remove the parenthesis + self.LEValeur.setText(text) listeVal=[] indexInterdit=[] for i in range(self.nbValeurs):