1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 11:35:24 +01:00

Play the first item of the result list when pressing "Enter" in global search

This commit is contained in:
Arnaud Bienner 2012-09-01 00:29:31 +02:00
parent d327d140c1
commit 04c4d97930

View File

@ -397,6 +397,10 @@ bool GlobalSearchView::SearchKeyEvent(QKeyEvent* event) {
ui_->search->clear();
break;
case Qt::Key_Return:
AddSelectedToPlaylist();
break;
default:
return false;
}