From: Jean-Baptiste Mardelle Date: Tue, 27 Nov 2012 21:50:48 +0000 (+0100) Subject: Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3b3627578945af38358764b7f3b0a510c4f91cde;p=kdenlive Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824 --- 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); }