From 5dfe19e52dcf187280067b3d179c8a7248b275f0 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Tue, 11 Jan 2022 18:50:44 -0500 Subject: [PATCH] GUI: remove instrument when deleting one note --- src/gui/gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 200d3b0ac..cd483e47f 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -1978,6 +1978,7 @@ void FurnaceGUI::doDelete() { for (int j=selStart.y; j<=selEnd.y; j++) { if (iFine==0) { pat->data[j][iFine]=0; + if (selStart.y==selEnd.y) pat->data[j][2]=-1; } pat->data[j][iFine+1]=(iFine<1)?0:-1; }