From 3b3627578945af38358764b7f3b0a510c4f91cde Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Mardelle Date: Tue, 27 Nov 2012 22:50:48 +0100 Subject: [PATCH] Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824 --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2