X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fscale.C;h=b963bb9304faaa1c80f310c1ba27993c6f4ae48b;hp=33cc0561254c39d07d42f303d40f135d56f0af35;hb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;hpb=6853a2c0b04cc5ff4e87a2022c914227f925cb7f diff --git a/cinelerra-5.1/cinelerra/scale.C b/cinelerra-5.1/cinelerra/scale.C index 33cc0561..b963bb93 100644 --- a/cinelerra-5.1/cinelerra/scale.C +++ b/cinelerra-5.1/cinelerra/scale.C @@ -203,6 +203,7 @@ ScaleWindow::~ScaleWindow() void ScaleWindow::create_objects() { + lock_window("ScaleWindow::create_objects"); int x = 10, y = 10; add_subwindow(new BC_Title(x, y, _("New camera size:"))); add_subwindow(new BC_Title(x + 200, y, _("New projector size:"))); @@ -309,6 +310,7 @@ void ScaleWindow::create_objects() add_subwindow(new BC_OKButton(x, y)); x += 200; add_subwindow(new BC_CancelButton(x, y)); + unlock_window(); } ScaleSizeText::ScaleSizeText(int x, int y, ScaleThread *thread, int *output)