Merge pull request #1320 from kyuupichan/button_split
Split tx dialog buttons
This commit is contained in:
@@ -115,7 +115,7 @@ class Plugin(BasePlugin):
|
||||
def transaction_dialog(self, d):
|
||||
self.send_button = b = QPushButton(_("Send to cosigner"))
|
||||
b.clicked.connect(lambda: self.do_send(d.tx))
|
||||
d.buttons.insert(2, b)
|
||||
d.buttons.insert(0, b)
|
||||
self.transaction_dialog_update(d)
|
||||
|
||||
@hook
|
||||
|
||||
@@ -36,7 +36,7 @@ class Plugin(BasePlugin):
|
||||
|
||||
button_label = _("Verify GA instant")
|
||||
|
||||
@hook
|
||||
@hook
|
||||
def init_qt(self, gui):
|
||||
self.win = gui.main_window
|
||||
|
||||
@@ -45,7 +45,7 @@ class Plugin(BasePlugin):
|
||||
self.wallet = d.wallet
|
||||
self.verify_button = b = QPushButton(self.button_label)
|
||||
b.clicked.connect(lambda: self.do_verify(d.tx))
|
||||
d.buttons.insert(1, b)
|
||||
d.buttons.insert(0, b)
|
||||
self.transaction_dialog_update(d)
|
||||
|
||||
def get_my_addr(self, tx):
|
||||
|
||||
Reference in New Issue
Block a user