commit 67d95e540631f4fb4b3506ab2a86262ba0a48af5
parent 702d1743fe636dca7d0acf75d7e1a25beba918b1
Author: ThomasV <thomasv@gitorious>
Date: Sat, 9 Jun 2012 12:32:17 +0200
do not display if the label is not accepted
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -330,6 +330,8 @@ class ElectrumWindow(QMainWindow):
self.wallet.labels[addr] = text
else:
print "error: this is an alias"
+ label = self.wallet.labels.get(addr,'')
+ item.setText(column_label, QString(label))
else:
s = self.wallet.labels.get(addr)
if s: self.wallet.labels.pop(addr)