diff options
author | Carl Hetherington <carl@carlh.net> | 2011-11-08 12:30:55 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-11-08 12:30:55 +0000 |
commit | df04f8c1e57f279ed75db707597d61ba06a3d096 (patch) | |
tree | 2e7f157484ddc50ded2d30e7a92e838aadb8b729 /gtk2_ardour/panner_ui.cc | |
parent | 1fcc413b39f04ed8f78b2fc9b692bb079e0face3 (diff) |
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
Diffstat (limited to 'gtk2_ardour/panner_ui.cc')
-rw-r--r-- | gtk2_ardour/panner_ui.cc | 5 |
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 { |