twizard: set next button default - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5f8c04cd565fd693ac19a5b6024589a080d6e4bf DIR parent 6cad213fa873a2ff7b6d01c19fd6c77d1f168d66 HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 13 Jun 2014 13:48:36 +0200 wizard: set next button default Diffstat: M gui/qt/installwizard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/gui/qt/installwizard.py b/gui/qt/installwizard.py t@@ -132,12 +132,12 @@ class InstallWizard(QDialog): vbox.addLayout(grid2) vbox.addStretch(1) - vbox.addLayout(ok_cancel_buttons(self, _('Next'))) - + hbox, button = ok_cancel_buttons2(self, _('Next')) + vbox.addLayout(hbox) self.set_layout(vbox) - self.show() self.raise_() + button.setDefault(True) if not self.exec_(): return None, None