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 authored and Admiral H. Curtiss committed 2022-04-09 03:01:10 +02:00
1 parent 120208ae03
commit 5516d468ce
1 file changed
+3
@@ -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)