proxy/mixer fixes, add proxy beep, igor ru xlat
[goodguy/history.git] / cinelerra-5.1 / cinelerra / zwindow.C
index 5743aa40ab577c0bf5b1dc8140d3e783ce31ddbe..3c340844cb70734a2ccf039a2783f9606db3629a 100644 (file)
@@ -185,6 +185,7 @@ ZWindow::ZWindow(MWindow *mwindow)
        idx = -1;
        edl = 0;
        highlighted = 0;
+       destroy = 1;
        title[0] = 0;
        zgui = 0;
 }
@@ -206,7 +207,9 @@ BC_Window* ZWindow::new_gui()
 
 void ZWindow::handle_done_event(int result)
 {
-       mwindow->del_mixer(this);
+       if( destroy )
+               mwindow->del_mixer(this);
+       idx = -1;
 }
 void ZWindow::handle_close_event(int result)
 {