tfix #1986 - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit bccdab758b2c5f24fc023a4b9c77914fad6a964c (DIR) parent 15546d817cbe8555c2bd052d07ff7ea28081709c (HTM) Author: ThomasV <thomasv@electrum.org> Date: Tue, 18 Oct 2016 14:07:52 +0200 fix #1986 Diffstat: M gui/qt/main_window.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) --- (DIR) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1655,15 +1655,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): grid.addWidget(line1, 1, 1) grid.addWidget(QLabel(_("Name")), 2, 0) grid.addWidget(line2, 2, 1) - vbox.addLayout(grid) vbox.addLayout(Buttons(CancelButton(d), OkButton(d))) - - if not d.exec_(): - return - - if self.set_contact(unicode(line2.text()), str(line1.text())): - self.tabs.setCurrentIndex(4) + if d.exec_(): + self.set_contact(unicode(line2.text()), str(line1.text())) def show_master_public_keys(self): dialog = WindowModalDialog(self, "Master Public Keys")