git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
08c7c3c
)
set default button for qr code dialog
author
thomasv
<thomasv@gitorious>
Sat, 2 Mar 2013 12:31:35 +0000 (13:31 +0100)
committer
thomasv
<thomasv@gitorious>
Sat, 2 Mar 2013 12:31:35 +0000 (13:31 +0100)
gui/gui_qt.py
patch
|
blob
|
history
diff --git
a/gui/gui_qt.py
b/gui/gui_qt.py
index
a75ae1b
..
e56c1ef
100644
(file)
--- 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)