aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gpgwin.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index cfbdbd9..ac36b85 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -126,7 +126,11 @@ void GpgWin::createActions()
/** Main Menu
*/
newTabAct = new QAction(tr("&New"), this);
- newTabAct->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_T));
+ QList<QKeySequence> newTabActShortcutList;
+ newTabActShortcutList.append(QKeySequence (Qt::CTRL + Qt::Key_N));
+ newTabActShortcutList.append(QKeySequence (Qt::CTRL + Qt::Key_T));
+ newTabAct->setShortcuts(newTabActShortcutList);
+
newTabAct->setToolTip(tr("Open a new file"));
connect(newTabAct, SIGNAL(triggered()), edit, SLOT(newTab()));