ui: Refactored recent projects menu (#956)

fixes #848
This commit is contained in:
Eberhard Gräther
2020-04-02 12:30:30 +02:00
committed by GitHub
parent 5a4de2d46a
commit 0c577f2f69
7 changed files with 26 additions and 44 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ void Application::updateRecentProjects(const FilePath& projectSettingsFilePath)
}
recentProjects.insert(recentProjects.begin(), projectSettingsFilePath);
while (static_cast<int>(recentProjects.size()) > appSettings->getMaxRecentProjectsCount())
while (recentProjects.size() > appSettings->getMaxRecentProjectsCount())
{
recentProjects.pop_back();
}