Qt: Fix notification/indicator location enable state

This commit is contained in:
Stenzek
2026-01-08 21:33:04 +10:00
parent 79f9bbe6af
commit 0c1cdd31e1
2 changed files with 7 additions and 3 deletions

View File

@@ -162,11 +162,15 @@ void AchievementSettingsWidget::updateEnableState()
m_ui.achievementNotificationsDurationLabel->setEnabled(notifications);
m_ui.leaderboardNotificationsDuration->setEnabled(lb_notifications);
m_ui.leaderboardNotificationsDurationLabel->setEnabled(lb_notifications);
m_ui.leaderboardTrackers->setEnabled(enabled);
m_ui.notificationLocationLabel->setEnabled(lb_notifications);
m_ui.notificationLocation->setEnabled(lb_notifications);
m_ui.soundEffects->setEnabled(enabled);
m_ui.challengeIndicatorMode->setEnabled(enabled);
m_ui.challengeIndicatorModeLabel->setEnabled(enabled);
m_ui.indicatorLocationLabel->setEnabled(lb_notifications);
m_ui.indicatorLocation->setEnabled(lb_notifications);
m_ui.progressIndicators->setEnabled(enabled);
m_ui.leaderboardTrackers->setEnabled(enabled);
m_ui.encoreMode->setEnabled(enabled);
m_ui.spectatorMode->setEnabled(enabled);
m_ui.unofficialAchievements->setEnabled(enabled);

View File

@@ -252,7 +252,7 @@
</layout>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="notificationLocationLabel">
<property name="text">
<string>Notification Location:</string>
</property>
@@ -281,7 +281,7 @@
<widget class="QComboBox" name="challengeIndicatorMode"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="indicatorLocationLabel">
<property name="text">
<string>Indicator Location:</string>
</property>