X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Freindex.C;h=27864c1299c35ab4ef0328cd00e814877e500844;hb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;hp=5112b12bc8f2d3a938ed9dec0ec7cd2254de6ab1;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/reindex.C b/cinelerra-5.1/cinelerra/reindex.C index 5112b12b..27864c12 100644 --- a/cinelerra-5.1/cinelerra/reindex.C +++ b/cinelerra-5.1/cinelerra/reindex.C @@ -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)