]> git.sesse.net Git - kdenlive/blobdiff - src/mainwindow.cpp
Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824
[kdenlive] / src / mainwindow.cpp
index 6e77fdbaa1a04653c1bf96fcd1a2ac002d7bfef8..355ebca77a84cc97eb1d1e6f5179cd69f0ca20d4 100644 (file)
@@ -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);
 }