DolphinQt/HacksWidget: Re-enable texture accuracy slider if it was disabled because of a custom value.

Fixes https://bugs.dolphin-emu.org/issues/12771
This commit is contained in:
3t13nn3 2022-02-23 16:59:21 +01:00 committed by Admiral H. Curtiss
parent 120208ae03
commit 5516d468ce
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

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)