tdo not restrict syntax - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cac54b33eca558c87552edbbc0b5d4b0fa661031 DIR parent 67d95e540631f4fb4b3506ab2a86262ba0a48af5 HTML Author: ThomasV <thomasv@gitorious> Date: Sat, 9 Jun 2012 12:39:59 +0200 do not restrict syntax Diffstat: M lib/gui_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui_qt.py b/lib/gui_qt.py t@@ -326,10 +326,10 @@ class ElectrumWindow(QMainWindow): addr = unicode( item.text(column_addr) ) text = unicode( item.text(column_label) ) if text: - if not re.match(ALIAS_REGEXP, text): + if text not in self.wallet.aliases.keys(): self.wallet.labels[addr] = text else: - print "error: this is an alias" + print "error: this is one of your aliases" label = self.wallet.labels.get(addr,'') item.setText(column_label, QString(label)) else: