X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshbtnprefs.C;h=5d719beb7c91486af8735ab973c1ca70392424d3;hb=21eb2e0b479adf7bf846b835e5c7d9613b6f1a6d;hp=b1de0be6c3310f3867bec76418069654fe3d80be;hpb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/shbtnprefs.C b/cinelerra-5.1/cinelerra/shbtnprefs.C index b1de0be6..5d719beb 100644 --- a/cinelerra-5.1/cinelerra/shbtnprefs.C +++ b/cinelerra-5.1/cinelerra/shbtnprefs.C @@ -255,7 +255,9 @@ BC_Window *ShBtnTextDialog::new_gui() void ShBtnTextDialog::handle_close_event(int result) { if( !result ) { + sb_window->lock_window("ShBtnTextDialog::handle_close_event"); sb_window->list_update(); + sb_window->unlock_window(); } st_window = 0; }