diff --git a/src/widgets/fileview.cpp b/src/widgets/fileview.cpp index 0bd6688ea..686aac2c6 100644 --- a/src/widgets/fileview.cpp +++ b/src/widgets/fileview.cpp @@ -227,7 +227,10 @@ void FileView::keyPressEvent(QKeyEvent* e) { case Qt::Key_Backspace: ui_->up->click(); break; + case Qt::Key_Enter: + case Qt::Key_Return: + ItemDoubleClick(ui_->list->currentIndex()); + break; } - QWidget::keyPressEvent(e); }