X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fkeyframegui.C;h=61a0b052aa3cdf34f74eebedfa76984b61dd4a2d;hp=f590571d8be69916cd24958de728134fd6c8dc9a;hb=1529091cdf16df199a901aabe6e8fa1813a933af;hpb=12d4e343f31707c899e6e4daa10c68b172433cff diff --git a/cinelerra-5.1/cinelerra/keyframegui.C b/cinelerra-5.1/cinelerra/keyframegui.C index f590571d..61a0b052 100644 --- a/cinelerra-5.1/cinelerra/keyframegui.C +++ b/cinelerra-5.1/cinelerra/keyframegui.C @@ -208,7 +208,9 @@ void KeyFrameThread::handle_done_event(int result) { // Apply the preset if( !result ) { + get_gui()->lock_window("KeyFrameThread::handle_done_event"); apply_preset(preset_text, is_factory); + get_gui()->unlock_window(); } }