]> git.sesse.net Git - kdenlive/commitdiff
Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 27 Nov 2012 21:50:48 +0000 (22:50 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 27 Nov 2012 21:50:48 +0000 (22:50 +0100)
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);
 }