From 45c4690cf40e89d1969439b0b96092430b91914c Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Sun, 1 May 2016 13:57:44 +0200 Subject: [PATCH] PianoRoll, Escape key drops selection (#2561) --- src/gui/editors/PianoRoll.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index a8c70c6a9..f66b0ff90 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -1128,6 +1128,11 @@ void PianoRoll::keyPressEvent(QKeyEvent* ke ) } break; + case Qt::Key_Escape: + // Same as Ctrl + Shift + A + clearSelectedNotes(); + break; + case Qt::Key_Delete: deleteSelectedNotes(); ke->accept();