result = 1;
break;
}
- if( strcmp(cin_version, CINELERRA_VERSION) ) {
+ if( strcmp(cin_version, CINELERRA_VERSION) &&
+ strcmp(cin_version, "5.1") ) {
char string[BCTEXTLEN];
snprintf(string, sizeof(string),
_("Warning: XML from cinelerra version %s\n"
if(debug) PRINT_TRACE
- if(load_mode == LOADMODE_REPLACE ||
- load_mode == LOADMODE_REPLACE_CONCATENATE)
- {
+ if( load_mode == LOADMODE_REPLACE ||
+ load_mode == LOADMODE_REPLACE_CONCATENATE ) {
+ delete gui->keyvalue_popup;
+ gui->keyvalue_popup = 0;
gui->load_panes();
}
void MWindow::save_undo_data()
{
+ undo->update_undo_before();
+ undo->update_undo_after(_("perpetual session"), LOAD_ALL);
char perpetual_path[BCTEXTLEN];
snprintf(perpetual_path, sizeof(perpetual_path), "%s/%s",
File::get_config_path(), PERPETUAL_FILE);