p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / reindex.C
index 5112b12bc8f2d3a938ed9dec0ec7cd2254de6ab1..27864c1299c35ab4ef0328cd00e814877e500844 100644 (file)
@@ -80,12 +80,14 @@ ReIndexWindow::~ReIndexWindow()
 
 ReIndexWindow::create_objects()
 {
+       lock_window("ReIndexWindow::create_objects");
        BC_SubWindow *subwindow;
 
        add_subwindow(subwindow = new BC_SubWindow(0, 0, w, h, MEGREY));
        subwindow->add_subwindow(new BC_Title(5, 5, _("Redraw all indexes for the current project?")));
        subwindow->add_subwindow(ok = new ReIndexOkButton(this));
        subwindow->add_subwindow(cancel = new ReIndexCancelButton(this));
+       unlock_window();
 }
 
 ReIndexOkButton::ReIndexOkButton(ReIndexWindow *window)