From 953a0b17c154b5246d6162ec7c56681e7dc585d4 Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Fri, 15 May 2020 19:16:06 +0200 Subject: [PATCH] Song Editor - Delete selected objects with backspace key (#5497) --- src/gui/editors/SongEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/editors/SongEditor.cpp b/src/gui/editors/SongEditor.cpp index 716b2f734..a86028805 100644 --- a/src/gui/editors/SongEditor.cpp +++ b/src/gui/editors/SongEditor.cpp @@ -503,7 +503,7 @@ void SongEditor::keyPressEvent( QKeyEvent * ke ) { m_song->setPlayPos( 0, Song::Mode_PlaySong ); } - else if( ke->key() == Qt::Key_Delete ) + else if( ke->key() == Qt::Key_Delete || ke->key() == Qt::Key_Backspace ) { QVector tcoViews; QVector so = selectedObjects();