Skip to content

Commit

Permalink
Limit to 15 recently opened items instead of 20
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Dec 28, 2024
1 parent 395f8ba commit 30f1345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Utility/SettingsFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void SettingsFile::addToRecentlyOpened(File const& path)
recentlyOpened.addChild(subTree, 0, nullptr);
}

while (recentlyOpened.getNumChildren() > 20) {
while (recentlyOpened.getNumChildren() > 15) {
auto minTime = Time::getCurrentTime().toMilliseconds();
int minIdx = -1;

Expand Down

0 comments on commit 30f1345

Please sign in to comment.