}
if( current ) {
// Set the redo text to the current description
- if( mwindow->gui ) {
- UndoStackItem *next = NEXT;
- mwindow->gui->mainmenu->redo->
- update_caption(next ? next->get_description() : "");
- }
+ UndoStackItem *next = NEXT;
+ mwindow->gui->mainmenu->redo->
+ update_caption(next ? next->get_description() : "");
char *current_data = current->get_data();
if( current_data ) {
FileXML file;
}
}
+ mwindow->reset_caches(1);
reset_creators();
- mwindow->reset_caches();
return 0;
}
-
int MainUndo::redo()
{
mwindow->gui->close_keyvalue_popup();
update_caption(current ? current->get_description() : "");
}
}
+ mwindow->reset_caches(1);
reset_creators();
- mwindow->reset_caches();
//dump();
return 0;
}
// Here the master EDL loads
int MainUndo::load_from_undo(FileXML *file, uint32_t load_flags)
{
+ mwindow->hide_plugins();
if( load_flags & LOAD_SESSION ) {
mwindow->gui->unlock_window();
mwindow->close_mixers();