dblclk label folder item is goto, fix no-drag trns if not drawn, amp up pane divider...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mainundo.C
index 2e960b3b2fb1c7f62ba01a6b84cf9fc1880508d1..5b0a70bd2ec77e9b3d584a9fe8a617f743f928f5 100644 (file)
@@ -198,11 +198,9 @@ int MainUndo::undo()
        }
        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;
@@ -256,6 +254,7 @@ int MainUndo::redo()
 // 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();