p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / recconfirmdelete.C
index f8328a6e787817a0f48429114fa0d8d9a990b6c0..987b771755f235196f2182bf165101c0f447036f 100644 (file)
@@ -44,6 +44,7 @@ RecConfirmDelete::~RecConfirmDelete()
 
 void RecConfirmDelete::create_objects(char *string)
 {
+       lock_window("RecConfirmDelete::create_objects");
        char string2[256];
        int x = 10, y = 10;
        sprintf(string2, _("Delete this file and %s?"), string);
@@ -52,6 +53,7 @@ void RecConfirmDelete::create_objects(char *string)
        add_subwindow(new BC_OKButton(x, y));
        x = get_w() - 100;
        add_subwindow(new BC_CancelButton(x, y));
+       unlock_window();
 }