Ctrl + Space to select/deselect in playlist. Fixes issue #1190
This commit is contained in:
parent
8e9c913605
commit
a356c5c425
|
@ -439,7 +439,8 @@ void PlaylistView::keyPressEvent(QKeyEvent* event) {
|
|||
if (currentIndex().isValid())
|
||||
emit PlayItem(currentIndex());
|
||||
event->accept();
|
||||
} else if(event->key() == Qt::Key_Space) {
|
||||
} else if(event->modifiers() != Qt::ControlModifier //Ctrl+Space selects the item
|
||||
&& event->key() == Qt::Key_Space) {
|
||||
emit PlayPause();
|
||||
event->accept();
|
||||
} else if(event->key() == Qt::Key_Left) {
|
||||
|
|
Loading…
Reference in New Issue