X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fzwindow.C;h=f40e804b19d3f73e412366e4ad1883d24e04ea80;hp=7f6d2800b8f0279c175bacaea9c5a0ea1ecae706;hb=3b4b6f588c4f2643316afcbc486ca6a35c16a431;hpb=c905fabd0678fcc8ab9e32e4443ad8709adafefd diff --git a/cinelerra-5.1/cinelerra/zwindow.C b/cinelerra-5.1/cinelerra/zwindow.C index 7f6d2800..f40e804b 100644 --- a/cinelerra-5.1/cinelerra/zwindow.C +++ b/cinelerra-5.1/cinelerra/zwindow.C @@ -185,7 +185,6 @@ ZWindow::ZWindow(MWindow *mwindow) idx = -1; edl = 0; highlighted = 0; - destroy = 1; title[0] = 0; zgui = 0; } @@ -207,10 +206,10 @@ BC_Window* ZWindow::new_gui() void ZWindow::handle_done_event(int result) { - idx = -1; stop_playback(1); - if( destroy ) + if( result ) mwindow->del_mixer(this); + idx = -1; } void ZWindow::handle_close_event(int result) {