electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 346cc34091b923c92c3a6cd4bb7c4de2b0e4f498
parent 08c7c3c51fad2ea4ca34490a6fcd7e7cf4db1eeb
Author: thomasv <thomasv@gitorious>
Date:   Sat,  2 Mar 2013 13:31:35 +0100

set default button for qr code dialog

Diffstat:
Mgui/gui_qt.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/gui_qt.py b/gui/gui_qt.py @@ -1507,13 +1507,14 @@ class ElectrumWindow(QMainWindow): bmp.save_qrcode(qrw.qr, filename) QMessageBox.information(None, _('Message'), _("QR code saved to file") + " " + filename, _('OK')) - b = QPushButton(_("Print")) + b = QPushButton(_("Save")) hbox.addWidget(b) b.clicked.connect(print_qr) b = QPushButton(_("Close")) hbox.addWidget(b) b.clicked.connect(d.accept) + b.setDefault(True) vbox.addLayout(hbox) d.setLayout(vbox)