mirror of
https://github.com/feather-wallet/feather.git
synced 2025-01-09 20:39:58 +00:00
Menu: add shortcuts
This commit is contained in:
parent
841739cee9
commit
eb8d150a9d
1 changed files with 7 additions and 0 deletions
|
@ -400,6 +400,13 @@ void MainWindow::initMain() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::initMenu() {
|
void MainWindow::initMenu() {
|
||||||
|
// setup shortcuts
|
||||||
|
ui->actionStore_wallet->setShortcut(QKeySequence("Ctrl+S"));
|
||||||
|
ui->actionRefresh_tabs->setShortcut(QKeySequence("Ctrl+R"));
|
||||||
|
ui->actionClose->setShortcut(QKeySequence("Ctrl+W"));
|
||||||
|
ui->actionShow_debug_info->setShortcut(QKeySequence("Ctrl+D"));
|
||||||
|
ui->actionSettings->setShortcut(QKeySequence("Ctrl+Alt+S"));
|
||||||
|
|
||||||
// hide/show tabs
|
// hide/show tabs
|
||||||
m_tabShowHideSignalMapper = new QSignalMapper(this);
|
m_tabShowHideSignalMapper = new QSignalMapper(this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue