Skip to content

Commit

Permalink
Add shortcut to apply config
Browse files Browse the repository at this point in the history
  • Loading branch information
tohammer committed Nov 9, 2023
1 parent 1db2f0c commit 7ff3003
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,12 @@ void MainWindow::initView()

/* Update the scrollbutton status */
updateScrollButton();

/* Add shortcut to apply config */
QAction *applyConfig = new QAction(this);
applyConfig->setShortcut(Qt::Key_C | Qt::SHIFT | Qt::CTRL);
connect(applyConfig, SIGNAL(triggered()), this, SLOT(on_applyConfig_clicked()));
addAction(applyConfig);
}

void MainWindow::initSignalConnections()
Expand Down

0 comments on commit 7ff3003

Please sign in to comment.