X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Flabeledit.C;h=22c5252a802dac626ce676ad56e20ef01c7bd4ad;hp=a2bd71f404cdf27eb00703ce724aa9182ff5be86;hb=b9f98da8f1cd8b7b31ead02fa41f299b56cac3da;hpb=95683646dce10ad3f6a8c8c9c9225c69f4841ec5 diff --git a/cinelerra-5.1/cinelerra/labeledit.C b/cinelerra-5.1/cinelerra/labeledit.C index a2bd71f4..22c5252a 100644 --- a/cinelerra-5.1/cinelerra/labeledit.C +++ b/cinelerra-5.1/cinelerra/labeledit.C @@ -86,6 +86,7 @@ LabelEditWindow::~LabelEditWindow() void LabelEditWindow::create_objects() { + lock_window("LabelEditWindow::create_objects"); this->label = thread->label; int x = 10, y = 10; @@ -102,6 +103,7 @@ void LabelEditWindow::create_objects() add_subwindow(new BC_CancelButton(this)); show_window(); textbox->activate(); + unlock_window(); } LabelEditComments::LabelEditComments(LabelEditWindow *window, int x, int y, int w, int rows)