projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix histogram bez keyframe interp, update plugins/fonts/fonts.scale, edl copy clip...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
zwindow.C
diff --git
a/cinelerra-5.1/cinelerra/zwindow.C
b/cinelerra-5.1/cinelerra/zwindow.C
index 5743aa40ab577c0bf5b1dc8140d3e783ce31ddbe..3c340844cb70734a2ccf039a2783f9606db3629a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/zwindow.C
+++ b/
cinelerra-5.1/cinelerra/zwindow.C
@@
-185,6
+185,7
@@
ZWindow::ZWindow(MWindow *mwindow)
idx = -1;
edl = 0;
highlighted = 0;
idx = -1;
edl = 0;
highlighted = 0;
+ destroy = 1;
title[0] = 0;
zgui = 0;
}
title[0] = 0;
zgui = 0;
}
@@
-206,7
+207,9
@@
BC_Window* ZWindow::new_gui()
void ZWindow::handle_done_event(int result)
{
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)
{
}
void ZWindow::handle_close_event(int result)
{