X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmainundo.C;h=c19a6ada63a00de0b368b5fb6d5f00d0f3c1e375;hb=c7754a695f7750177de8645709f5d30487a4ac45;hp=9f69f8eb4754b8064dfc28590a202e24e4b70e62;hpb=84ac8a2bb3357c04a3f67cf763b0f61ddbbd021d;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mainundo.C b/cinelerra-5.1/cinelerra/mainundo.C index 9f69f8eb..c19a6ada 100644 --- a/cinelerra-5.1/cinelerra/mainundo.C +++ b/cinelerra-5.1/cinelerra/mainundo.C @@ -219,12 +219,11 @@ int MainUndo::undo() } } + mwindow->reset_caches(1); reset_creators(); - mwindow->reset_caches(); return 0; } - int MainUndo::redo() { mwindow->gui->close_keyvalue_popup(); @@ -247,8 +246,8 @@ int MainUndo::redo() update_caption(current ? current->get_description() : ""); } } + mwindow->reset_caches(1); reset_creators(); - mwindow->reset_caches(); //dump(); return 0; } @@ -257,6 +256,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();