Merge pull request 'Menu: add shortcuts' (#174) from tobtoht/feather:shortcuts into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/174
This commit is contained in:
tobtoht 2020-11-25 14:18:12 +00:00
commit bce983a6a5
1 changed files with 7 additions and 0 deletions

View File

@ -400,6 +400,13 @@ void MainWindow::initMain() {
}
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
m_tabShowHideSignalMapper = new QSignalMapper(this);