|
|
@ -99,10 +99,13 @@ class TxDialog(QWidget): |
|
|
|
|
|
|
|
# Action buttons |
|
|
|
self.buttons = [self.sign_button, self.broadcast_button, self.cancel_button] |
|
|
|
# Transaction sharing buttons |
|
|
|
self.sharing_buttons = [self.copy_button, self.qr_button, self.save_button] |
|
|
|
|
|
|
|
run_hook('transaction_dialog', self) |
|
|
|
|
|
|
|
hbox = QHBoxLayout() |
|
|
|
hbox.addLayout(Buttons(self.copy_button, self.qr_button, self.save_button)) |
|
|
|
hbox.addLayout(Buttons(*self.sharing_buttons)) |
|
|
|
hbox.addStretch(1) |
|
|
|
hbox.addLayout(Buttons(*self.buttons)) |
|
|
|
vbox.addLayout(hbox) |
|
|
|