Skip to content

Commit 3c8fac1

Browse files
committed
Fix Clear Recent on Exit not clearing Projects
https://forum.shotcut.org/t/clear-recent-on-exit-dont-remove-items-in- projects/46494
1 parent 2ccaa94 commit 3c8fac1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mainwindow.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4882,8 +4882,10 @@ void MainWindow::onOpenOtherTriggered()
48824882
void MainWindow::on_actionClearRecentOnExit_toggled(bool arg1)
48834883
{
48844884
Settings.setClearRecent(arg1);
4885-
if (arg1)
4885+
if (arg1) {
48864886
Settings.setRecent(QStringList());
4887+
Settings.setProjects(QStringList());
4888+
}
48874889
}
48884890

48894891
void MainWindow::onSceneGraphInitialized()

0 commit comments

Comments
 (0)