fix refresh_frame color_model test
[goodguy/history.git] / cinelerra-5.1 / cinelerra / mwindow.C
index 2dbb5b3af5d818128b87a1f29aa1e8e33aaaab12..238c17aa43a09938d5a7bad1ade30d2fdef7e48e 100644 (file)
@@ -18,6 +18,7 @@
  *
  */
 
+#include "aboutprefs.h"
 #include "asset.h"
 #include "assets.h"
 #include "atrack.h"
@@ -896,6 +897,7 @@ void MWindow::init_preferences()
        }
        BC_WindowBase::get_resources()->popupmenu_btnup = preferences->popupmenu_btnup;
        BC_WindowBase::get_resources()->textbox_focus_policy = preferences->textbox_focus_policy;
+       BC_WindowBase::get_resources()->grab_input_focus = preferences->grab_input_focus;
 }
 
 void MWindow::clean_indexes()
@@ -1845,7 +1847,9 @@ if(debug) printf("MWindow::load_filenames %d\n", __LINE__);
                                }
                        }
                }
+               gui->unlock_window(); // to update progress bar
                render_proxy(orig_idxbls);
+               gui->lock_window("MWindow::load_filenames");
        }
 
 // need to update undo before project, since mwindow is unlocked & a new load
@@ -3397,7 +3401,7 @@ void MWindow::trap_hook(FILE *fp, void *vp)
        mwindow->dump_edl(fp);
        fprintf(fp, "\nUNDO:\n");
        mwindow->dump_undo(fp);
-       fprintf(fp, "\nEXE:\n");
+       fprintf(fp, "\nEXE: %s\n", AboutPrefs::build_timestamp);
        mwindow->dump_exe(fp);
 }