X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fresizetrackthread.C;h=b8368ff400d314caf865ddf1cfc97467649c9101;hp=f8e3de367561a23568d7089204a981b54cfd1d6b;hb=cb1a1530246ad67fb9be9aa2dbba5b88eb63e933;hpb=9afc3844e37c6db23435d5d0c33129dcc81061e4;ds=sidebyside diff --git a/cinelerra-5.1/cinelerra/resizetrackthread.C b/cinelerra-5.1/cinelerra/resizetrackthread.C index f8e3de36..b8368ff4 100644 --- a/cinelerra-5.1/cinelerra/resizetrackthread.C +++ b/cinelerra-5.1/cinelerra/resizetrackthread.C @@ -329,10 +329,12 @@ void ResizeAssetThread::update() char string[BCTEXTLEN]; asset->width = w; asset->height = h; + fwindow->lock_window("ResizeAssetThread::update"); sprintf(string, "%d", asset->width); fwindow->win_width->update(string); sprintf(string, "%d", asset->height); fwindow->win_height->update(string); + fwindow->unlock_window(); } ResizeAssetButton::ResizeAssetButton(AssetEditWindow *fwindow, int x, int y)