From df04f8c1e57f279ed75db707597d61ba06a3d096 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 8 Nov 2011 12:30:55 +0000 Subject: [PATCH] Delete the separate 2D panner window when its corresponding panner is being removed; fixes #4452. git-svn-id: svn://localhost/ardour2/branches/3.0@10492 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/panner_ui.cc | 5 +++++ 1 file changed, 5 insertions(+) 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 {