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:
parent
1f864f3522
commit
3ed298a73d
@ -227,7 +227,10 @@ void FileView::keyPressEvent(QKeyEvent* e) {
|
|||||||
case Qt::Key_Backspace:
|
case Qt::Key_Backspace:
|
||||||
ui_->up->click();
|
ui_->up->click();
|
||||||
break;
|
break;
|
||||||
|
case Qt::Key_Enter:
|
||||||
|
case Qt::Key_Return:
|
||||||
|
ItemDoubleClick(ui_->list->currentIndex());
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
QWidget::keyPressEvent(e);
|
QWidget::keyPressEvent(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user