do not display if the label is not accepted

This commit is contained in:
ThomasV 2012-06-09 12:32:17 +02:00
parent 702d1743fe
commit 67d95e5406
1 changed files with 2 additions and 0 deletions

View File

@ -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)