From 2ea9658cd4060664d7e45d61dfcf3e3ca40c4eaa Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 14 Feb 2012 23:02:17 +0100 Subject: [PATCH] fix --- client/gui_qt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/gui_qt.py b/client/gui_qt.py index b5584e0aa..ed58626dc 100644 --- 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()