From eb8d150a9dcc91da80267de5ee9db911bee055aa Mon Sep 17 00:00:00 2001
From: tobtoht <thotbot@protonmail.com>
Date: Wed, 25 Nov 2020 14:35:28 +0100
Subject: [PATCH] Menu: add shortcuts

---
 src/mainwindow.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 583f178..be17536 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -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);