Skip to content

Commit

Permalink
fix repetition in Projects list
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Oct 9, 2024
1 parent d626153 commit 941ba10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docks/recentdock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ void RecentDock::add(const QString &s)
Settings.setRecent(m_recent);
if (filePath.endsWith(".mlt")) {
auto projects = Settings.projects();
projects.removeOne(filePath);
projects.prepend(filePath);
Settings.setProjects(projects);
}
Expand Down

0 comments on commit 941ba10

Please sign in to comment.