From 67d95e540631f4fb4b3506ab2a86262ba0a48af5 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sat, 9 Jun 2012 12:32:17 +0200 Subject: [PATCH] do not display if the label is not accepted --- lib/gui_qt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gui_qt.py b/lib/gui_qt.py index 9225994e..5bc7c4e8 100644 --- 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)