Glue all notes if none are selected (#8018)

This commit is contained in:
Alex
2025-09-10 05:37:39 +02:00
committed by GitHub
parent 04b27eee50
commit 2eea79bdd3

View File

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