summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-04-22 16:36:40 +0200
committerAl12rs <gabriel.cortesi@outlook.com>2018-04-22 16:39:26 +0200
commit001fddb069f35850b02ecac0d11f220461c70706 (patch)
treebbd04f55bf836cd3f68f87ec09cd0e63d24cc334 /src/mainwindow.cpp
parent141ac311d29f2fae6bf6ef0172708bd841e624fe (diff)
Changed the shortcut to open in explorer a mod to CTRL+Enter to avoid consuming the Enter key press so that people can still use it to finish renaming a mod.
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 6b176868..e737dd38 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -376,8 +376,8 @@ MainWindow::MainWindow(QSettings &initSettings
connect(ui->espList->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(esplistSelectionsChanged(QItemSelection)));
connect(ui->modList->selectionModel(), SIGNAL(selectionChanged(QItemSelection, QItemSelection)), this, SLOT(modlistSelectionsChanged(QItemSelection)));
- new QShortcut(QKeySequence(Qt::Key_Enter), this, SLOT(openExplorer_activated()));
- new QShortcut(QKeySequence(Qt::Key_Return), this, SLOT(openExplorer_activated()));
+ new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Enter), this, SLOT(openExplorer_activated()));
+ new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return), this, SLOT(openExplorer_activated()));
new QShortcut(QKeySequence::Refresh, this, SLOT(refreshProfile_activated()));