git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f38cc47
)
new_account_dialog triggers payto
author
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 10:34:07 +0000 (12:34 +0200)
committer
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 10:34:07 +0000 (12:34 +0200)
gui/gui_classic/main_window.py
patch
|
blob
|
history
diff --git
a/gui/gui_classic/main_window.py
b/gui/gui_classic/main_window.py
index
6fbd1a4
..
b75a747
100644
(file)
--- a/
gui/gui_classic/main_window.py
+++ b/
gui/gui_classic/main_window.py
@@
-1374,17
+1374,11
@@
class ElectrumWindow(QMainWindow):
e.setReadOnly(True)
vbox.addWidget(e)
- ok_button = QPushButton(_("OK"))
- ok_button.setDefault(True)
- ok_button.clicked.connect(dialog.accept)
-
- hbox = QHBoxLayout()
- hbox.addStretch(1)
- hbox.addWidget(ok_button)
- vbox.addLayout(hbox)
-
+ vbox.addLayout(ok_cancel_buttons(dialog))
dialog.setLayout(vbox)
- dialog.exec_()
+ r = dialog.exec_()
+ if r:
+ self.payto(addr)