From 2eea79bdd349a0b385c9a371e0dc6c8dccfc5b6d Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 10 Sep 2025 05:37:39 +0200 Subject: [PATCH] Glue all notes if none are selected (#8018) --- src/gui/editors/PianoRoll.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/gui/editors/PianoRoll.cpp b/src/gui/editors/PianoRoll.cpp index 581fb6836..4aaf1c9fb 100644 --- a/src/gui/editors/PianoRoll.cpp +++ b/src/gui/editors/PianoRoll.cpp @@ -646,11 +646,7 @@ void PianoRoll::glueNotes() NoteVector selectedNotes = getSelectedNotes(); if (selectedNotes.empty()) { - TextFloat::displayMessage( tr( "Glue notes failed" ), - tr( "Please select notes to glue first." ), - embed::getIconPixmap( "glue", 24, 24 ), - 3000 ); - return; + selectedNotes = m_midiClip->notes(); } // Make undo possible