X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fresizetrackthread.C;h=b8368ff400d314caf865ddf1cfc97467649c9101;hb=cdb8b00f2f7ecf0b4910a40e1d90a87540d2891d;hp=f8e3de367561a23568d7089204a981b54cfd1d6b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git 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)