diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphincontroller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphincontroller.cpp b/src/dolphincontroller.cpp index 2f267560a..46cb74520 100644 --- a/src/dolphincontroller.cpp +++ b/src/dolphincontroller.cpp @@ -129,7 +129,8 @@ void DolphinController::handleKeyPressEvent(QKeyEvent* event) const QItemSelectionModel* selModel = m_itemView->selectionModel(); const QModelIndex currentIndex = selModel->currentIndex(); const bool trigger = currentIndex.isValid() - && (event->key() == Qt::Key_Return) + && ((event->key() == Qt::Key_Return) + || (event->key() == Qt::Key_Enter)) && (selModel->selectedIndexes().count() > 0); if (trigger) { const QModelIndexList indexList = selModel->selectedIndexes(); |
