}
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;
// 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();