repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / wwindow.C
index b7ffb644b7541d2cdc976ea6c567466541eb65c6..4f522f3179f099de3ee2622836771b6a3534a6eb 100644 (file)
@@ -79,6 +79,7 @@ WWindowGUI::WWindowGUI(WWindow *thread, int x, int y)
 
 void WWindowGUI::create_objects()
 {
+       lock_window("WWindowGUI::create_objects");
        int x = 10, y = 10;
        add_subwindow(new BC_TextBox(x, y, get_w()-50, 3, thread->warn_text));
        y = get_h() - 30;
@@ -87,6 +88,7 @@ void WWindowGUI::create_objects()
        x = get_w() - BC_CancelButton::calculate_w() - 10;
        add_subwindow(new BC_CancelButton(x, y));
        show_window();
+       unlock_window();
 }
 
 WDisable::WDisable(WWindowGUI *gui, int x, int y)