commit 2ea9658cd4060664d7e45d61dfcf3e3ca40c4eaa
parent 7fa258946a641ec831aecfb4066251f6b925f0d0
Author: ThomasV <thomasv@gitorious>
Date: Tue, 14 Feb 2012 23:02:17 +0100
fix
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/client/gui_qt.py b/client/gui_qt.py
@@ -536,6 +536,7 @@ class ElectrumWindow(QMainWindow):
addButton = EnterButton("New", self.newaddress_dialog)
hbox.addWidget(addButton)
def payto(addr):
+ if not addr:return
self.tabs.setCurrentIndex(1)
self.payto_e.setText(addr)
self.amount_e.setFocus()