From 2db8214aa37de3f4cfa2cdb648458cade38c8343 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 24 Mar 2025 08:41:45 -0600 Subject: [PATCH] clear previous region when switching to an empty slot in a cue-pianoroll --- gtk2_ardour/pianoroll.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk2_ardour/pianoroll.cc b/gtk2_ardour/pianoroll.cc index 8a47f3a640..af87dcb9ca 100644 --- a/gtk2_ardour/pianoroll.cc +++ b/gtk2_ardour/pianoroll.cc @@ -2293,6 +2293,9 @@ Pianoroll::set (TriggerReference & tref) if (mr) { set_region (mr); } + + } else { + view->set_region (nullptr); } }