tProperly disable the next button if no choices - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 11ef0f5489f0df8812cc2e9cad1d70aab2a72fbe DIR parent 6b54459833388471b3cfbb874fb440e60ec5c8d4 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Thu, 19 May 2016 07:39:53 +0900 Properly disable the next button if no choices Fixes 1793, 1786 Diffstat: M gui/qt/installwizard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -285,8 +285,7 @@ class InstallWizard(QDialog, MessageBoxMixin, WizardBase): vbox = QVBoxLayout() vbox.addLayout(actions_clayout.layout()) vbox.addLayout(wallet_clayout.layout()) - self.set_main_layout(vbox) - self.next_button.setEnabled(len(choices) != 0) + self.set_main_layout(vbox, next_enabled=len(choices) != 0) if actions_clayout.selected_index() == 2: action = 'restore'