repair default keyframe load, tweak init default histogram threshold
[goodguy/history.git] / cinelerra-5.1 / cinelerra / swindow.C
index 5764aeae49875e09f8ad924cb86a2fbc951cd72a..1604d8dbf371804fb36e6d1f938a256abc940e49 100644 (file)
@@ -139,6 +139,7 @@ int SWindowSaveFile::handle_event()
 
 void SWindowGUI::create_objects()
 {
+       lock_window("SWindowGUI::create_objects");
        int x = 10, y = 10;
        BC_Title *title = new BC_Title(x, y, _("Path:"));
        add_subwindow(title);
@@ -197,6 +198,7 @@ void SWindowGUI::create_objects()
        add_subwindow(ok);
        cancel = new SWindowCancel(this, cancel_x, cancel_y);
        add_subwindow(cancel);
+       unlock_window();
 }
 
 void SWindowGUI::load()