X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmainwindow.cpp;h=355ebca77a84cc97eb1d1e6f5179cd69f0ca20d4;hb=3b3627578945af38358764b7f3b0a510c4f91cde;hp=6e77fdbaa1a04653c1bf96fcd1a2ac002d7bfef8;hpb=9fa09dca16c321d6ea249351d282d5bee0c5ddd8;p=kdenlive diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6e77fdba..355ebca7 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2063,7 +2063,7 @@ void MainWindow::openLastFile() newFile(false); return; } - QAction *firstUrlAction = m_fileOpenRecent->selectableActionGroup()->actions().first(); + QAction *firstUrlAction = m_fileOpenRecent->selectableActionGroup()->actions().last(); if (firstUrlAction) firstUrlAction->trigger(); else newFile(false); }