commit 877644f7325b8abb585c06b2b2bf77a2a59d4c8f
parent e1e129fe30c9d7f2019fbbb55da2db7e79eacbbc
Author: ThomasV <thomasv@gitorious>
Date: Tue, 24 Sep 2013 17:00:20 +0200
set default button in tx detail window
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py
@@ -91,7 +91,8 @@ class TxDialog(QDialog):
cancelButton = QPushButton(_("Close"))
cancelButton.clicked.connect(lambda: self.done(0))
buttons.addWidget(cancelButton)
-
+ cancelButton.setDefault(True)
+
self.update()