Ctrl + Space to select/deselect in playlist. Fixes issue #1190

This commit is contained in:
Andrea Decorte 2011-03-09 13:03:52 +00:00
parent 8e9c913605
commit a356c5c425
1 changed files with 2 additions and 1 deletions

View File

@ -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) {