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
This commit is contained in:
Carl Hetherington
2011-11-08 12:30:55 +00:00
parent 1fcc413b39
commit df04f8c1e5

View File

@@ -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 {