diff options
author | Robin Gareus <robin@gareus.org> | 2015-12-21 15:46:03 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-12-21 15:46:03 +0100 |
commit | 0794329ac1c624424202104e95e49b961deb4289 (patch) | |
tree | bbec9943bd1236f8aa5131e045f217892f29a000 /gtk2_ardour/mixer_ui.cc | |
parent | 990cbf3f409ce1e4c1ef560659b009adfe611ce3 (diff) |
delete monitoring section when removed
Among other things, this makes sure the detached window is removed.
Diffstat (limited to 'gtk2_ardour/mixer_ui.cc')
-rw-r--r-- | gtk2_ardour/mixer_ui.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 554467e5eb..7621a3a9cd 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -2053,6 +2053,8 @@ Mixer_UI::monitor_section_going_away () monitor_section_detached (); out_packer.remove (_monitor_section->tearoff()); _monitor_section->set_session (0); + delete _monitor_section; + _monitor_section = 0; } } |