Merge pull request #2505 from chipmixer/master

Add plugin hook `init_menubar_tools`
This commit is contained in:
ThomasV 2017-06-27 18:36:07 +02:00 committed by GitHub
commit 8614755e16
1 changed files with 1 additions and 0 deletions

View File

@ -482,6 +482,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
raw_transaction_menu.addAction(_("&From the blockchain"), self.do_process_from_txid)
raw_transaction_menu.addAction(_("&From QR code"), self.read_tx_from_qrcode)
self.raw_transaction_menu = raw_transaction_menu
run_hook('init_menubar_tools', self, tools_menu)
help_menu = menubar.addMenu(_("&Help"))
help_menu.addAction(_("&About"), self.show_about)