current_bbt_points = 0;
}
- /* mixer strip will be deleted all by itself
- when its route is deleted.
- */
+ /* get rid of any existing editor mixer strip */
- current_mixer_strip = 0;
+ if (current_mixer_strip) {
+ if (current_mixer_strip->get_parent() != 0) {
+ global_hpacker.remove (*current_mixer_strip);
+ }
+ delete current_mixer_strip;
+ current_mixer_strip = 0;
+ }
WindowTitle title(Glib::get_application_name());
title += _("Editor");