From: Jean-Baptiste M. <jb...@kd...> - 2012-11-27 21:51:49
|
Git commit 3b3627578945af38358764b7f3b0a510c4f91cde by Jean-Baptiste Mardelle. Committed on 27/11/2012 at 22:50. Pushed by mardelle into branch 'master'. Open last opened project, not first one: http://kdenlive.org/mantis/view.php?id=2824 M +1 -1 src/mainwindow.cpp http://commits.kde.org/kdenlive/3b3627578945af38358764b7f3b0a510c4f91cde diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6e77fdb..355ebca 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); } |