Merge pull request #12237 from AdmiralCurtiss/hard-label

DolphinQt/AchievementHeaderWidget: Fix wrong label for hard unlock count.
This commit is contained in:
JosJuice 2023-11-06 20:22:23 +01:00 committed by GitHub
commit aec5238aa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ void AchievementHeaderWidget::UpdateData()
m_game_progress_hard->setRange(0, point_spread.total_count);
if (!m_game_progress_hard->isVisible())
m_game_progress_hard->setVisible(true);
m_game_progress_soft->setValue(point_spread.hard_unlocks);
m_game_progress_hard->setValue(point_spread.hard_unlocks);
m_game_progress_soft->setRange(0, point_spread.total_count);
m_game_progress_soft->setValue(point_spread.hard_unlocks + point_spread.soft_unlocks);
if (!m_game_progress_soft->isVisible())