1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-23 16:28:19 +01:00

Enable Enter key shortcut in file view

This commit is contained in:
Santiago Gil 2016-01-02 19:48:00 -03:00
parent 1f864f3522
commit 3ed298a73d

View File

@ -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);
}