summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/panner_ui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc
index 503706b6c3..627d4e76aa 100644
--- a/gtk2_ardour/panner_ui.cc
+++ b/gtk2_ardour/panner_ui.cc
@@ -249,6 +249,9 @@ PannerUI::setup_pan ()
EventBox* eb = manage (new EventBox());
pan_vbox.pack_start (*eb, false, false);
+ delete big_window;
+ big_window = 0;
+
} else if (nouts == 2) {
if (nins == 2) {
@@ -301,6 +304,8 @@ PannerUI::setup_pan ()
nins) << endmsg;
}
+ delete big_window;
+ big_window = 0;
} else {