Add ctrl+shift+a to deselect all notes in piano roll (#1488)
This commit is contained in:
@@ -1081,7 +1081,16 @@ void PianoRoll::keyPressEvent(QKeyEvent* ke )
|
||||
if( ke->modifiers() & Qt::ControlModifier )
|
||||
{
|
||||
ke->accept();
|
||||
selectAll();
|
||||
if (ke->modifiers() & Qt::ShiftModifier)
|
||||
{
|
||||
// Ctrl + Shift + A = deselect all notes
|
||||
clearSelectedNotes();
|
||||
}
|
||||
else
|
||||
{
|
||||
// Ctrl + A = select all notes
|
||||
selectAll();
|
||||
}
|
||||
update();
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user