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:
parent
d327d140c1
commit
04c4d97930
@ -397,6 +397,10 @@ bool GlobalSearchView::SearchKeyEvent(QKeyEvent* event) {
|
||||
ui_->search->clear();
|
||||
break;
|
||||
|
||||
case Qt::Key_Return:
|
||||
AddSelectedToPlaylist();
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user