mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-21 14:34:49 +01:00
Merge bitcoin-core/gui#408: Add missing mnemonics in menu bar options
7c33e3a572
qt: Add missing mnemonics in menu bar options (Shashwat) Pull request description: Since #362 we have defaulted to add mnemonic shortcuts for the context menus. The Window -> Minimize option and File -> Load PSBT from clipboard were hitherto missing a mnemonic shortcut. This PR adds mnemonic shortcuts for them Changes introduced in this PR: | Master | PR | | ----------| ---- | |  | | ||| ACKs for top commit: jarolrod: tACK7c33e3a572
hebasto: ACK7c33e3a572
, tested on Linux Mint 20.2 (Qt 5.12.8). Tree-SHA512: 32f201ae7716b19ca123856292f8bfa0d805f6c7271ac1b5e08eff6b95017443754c8a76e8396ccca1869a57384e11016cbd99d63ccdd2fae6da4eaf3ae32298
This commit is contained in:
commit
d3203a99d8
1 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@ void BitcoinGUI::createActions()
|
|||
verifyMessageAction->setStatusTip(tr("Verify messages to ensure they were signed with specified Bitcoin addresses"));
|
||||
m_load_psbt_action = new QAction(tr("&Load PSBT from file…"), this);
|
||||
m_load_psbt_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction"));
|
||||
m_load_psbt_clipboard_action = new QAction(tr("Load PSBT from clipboard…"), this);
|
||||
m_load_psbt_clipboard_action = new QAction(tr("Load PSBT from &clipboard…"), this);
|
||||
m_load_psbt_clipboard_action->setStatusTip(tr("Load Partially Signed Bitcoin Transaction from clipboard"));
|
||||
|
||||
openRPCConsoleAction = new QAction(tr("Node window"), this);
|
||||
|
@ -486,7 +486,7 @@ void BitcoinGUI::createMenuBar()
|
|||
|
||||
QMenu* window_menu = appMenuBar->addMenu(tr("&Window"));
|
||||
|
||||
QAction* minimize_action = window_menu->addAction(tr("Minimize"));
|
||||
QAction* minimize_action = window_menu->addAction(tr("&Minimize"));
|
||||
minimize_action->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_M));
|
||||
connect(minimize_action, &QAction::triggered, [] {
|
||||
QApplication::activeWindow()->showMinimized();
|
||||
|
|
Loading…
Add table
Reference in a new issue