Merge pull request #10573 from AdmiralCurtiss/pr10472

DolphinQt/HacksWidget: Re-enable texture accuracy slider if it was disabled because of a custom value.
This commit is contained in:
Mai M 2022-04-08 21:24:59 -04:00 committed by GitHub
commit 91192efe59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -154,6 +154,9 @@ void HacksWidget::LoadSettings()
const QSignalBlocker blocker(m_accuracy);
auto samples = Config::Get(Config::GFX_SAFE_TEXTURE_CACHE_COLOR_SAMPLES);
// Re-enable the slider in case it was disabled because of a custom value
m_accuracy->setEnabled(true);
int slider_pos = 0;
switch (samples)