This commit is contained in:
thomasv 2012-02-03 16:08:28 +01:00
parent ea96658a73
commit 0b1e56f51a
1 changed files with 2 additions and 1 deletions

View File

@ -590,6 +590,7 @@ class BitcoinGUI:
r = self.payto_entry.get_text() r = self.payto_entry.get_text()
if r != old_r: if r != old_r:
old_r = r old_r = r
r = r.strip()
if re.match('^(|([\w\-\.]+)@)((\w[\w\-]+\.)+[\w\-]+)$', r): if re.match('^(|([\w\-\.]+)@)((\w[\w\-]+\.)+[\w\-]+)$', r):
to_address = self.wallet.get_alias(r) to_address = self.wallet.get_alias(r)
if to_address: if to_address: