mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix Leaderboards Tab
Now that we have some test data, it wasn't showing up in the leaderboards tab; this fixes it to ensure (1) that the right ID is being passed to UpdateRow and (2) the map of leaderboard entries is being populated correctly.
This commit is contained in:
@ -87,7 +87,7 @@ void AchievementLeaderboardWidget::UpdateData(bool clean_all)
|
||||
}
|
||||
for (auto row : m_leaderboard_order)
|
||||
{
|
||||
UpdateRow(row.second);
|
||||
UpdateRow(row.first);
|
||||
}
|
||||
}
|
||||
|
||||
@ -98,7 +98,7 @@ void AchievementLeaderboardWidget::UpdateData(
|
||||
{
|
||||
if (update_ids.contains(row.first))
|
||||
{
|
||||
UpdateRow(row.second);
|
||||
UpdateRow(row.first);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user