thomasv 13 years ago
parent
commit
a26c6ca2e1
  1. 7
      client/gui.py

7
client/gui.py

@ -784,9 +784,10 @@ class BitcoinGUI:
# redundant with aliases
#if label and payto:
# self.labels[payto] = label
payto_address = self.get_alias(payto, interactive=True)
if payto_address:
payto = payto + ' <' + payto_address + '>'
if re.match('^(|([\w\-\.]+)@)((\w[\w\-]+\.)+[\w\-]+)$', payto):
payto_address = self.get_alias(payto, interactive=True)
if payto_address:
payto = payto + ' <' + payto_address + '>'
self.payto_entry.set_text(payto)
self.message_entry.set_text(message)

Loading…
Cancel
Save