From eae291beabf0856ad65bc2f21597d1cae7b1314c Mon Sep 17 00:00:00 2001 From: Cvolton Date: Thu, 8 Aug 2024 18:32:47 +0200 Subject: [PATCH] hardcode last rated list number to make sure all rated lists are actually fetched --- changelog.md | 5 +++++ src/managers/BetterInfoCache.cpp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index a263a64..81b226c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,4 +1,9 @@ # Changelog +## v4.2.7 (2024-08-04) +* Fixed a crash when Last Page Search reaches infinite pages +* Fixed a rare startup crash caused by Level Lists +* Other bugfixes & improvements + ## v4.2.6 (2024-08-04) * Fixed the following issues on macOS * Fixed a crash when opening level filters diff --git a/src/managers/BetterInfoCache.cpp b/src/managers/BetterInfoCache.cpp index 0909b82..d7003a3 100644 --- a/src/managers/BetterInfoCache.cpp +++ b/src/managers/BetterInfoCache.cpp @@ -181,7 +181,8 @@ void BetterInfoCache::cacheRatedLists(int page) { for(auto list : *lists) { auto idString = std::to_string(list->m_listID); - if(objectExists("list-info-dict", idString)) { + //811 is the first rated list, GDPS users can cope + if(objectExists("list-info-dict", idString) && objectExists("list-info-dict", "811")) { found = true; break; }