From de7bf2b6a58f0bb39da7d727ee05943f306b136f Mon Sep 17 00:00:00 2001 From: LillyJadeKatrin Date: Thu, 27 Jun 2024 00:35:07 -0400 Subject: [PATCH] Move achievement dialog scrollbars to top when changing games --- Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp b/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp index a0e750c4ba..7793843d68 100644 --- a/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp +++ b/Source/Core/DolphinQt/Achievements/AchievementsWindow.cpp @@ -7,6 +7,8 @@ #include #include +#include +#include #include #include @@ -83,6 +85,8 @@ void AchievementsWindow::UpdateData(AchievementManager::UpdatedItems updated_ite m_header_widget->UpdateData(); m_progress_widget->UpdateData(true); m_leaderboard_widget->UpdateData(true); + static_cast(m_tab_widget->widget(1))->verticalScrollBar()->setValue(0); + static_cast(m_tab_widget->widget(2))->verticalScrollBar()->setValue(0); } else {