X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshbtnprefs.C;h=5d719beb7c91486af8735ab973c1ca70392424d3;hp=b1de0be6c3310f3867bec76418069654fe3d80be;hb=b30123c9534e8df8da1694d40396d86396bf1c08;hpb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da 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; }