Qt: Fix cancelling overclock enable writing true to settings

This commit is contained in:
Connor McLaughlin 2020-10-02 00:01:04 +10:00
parent 5bc61849eb
commit 1da6db7260

View file

@ -66,6 +66,7 @@ void ConsoleSettingsWidget::onEnableCPUClockSpeedControlChecked(int state)
{
QSignalBlocker sb(m_ui.enableCPUClockSpeedControl);
m_ui.enableCPUClockSpeedControl->setChecked(Qt::Unchecked);
m_host_interface->SetBoolSettingValue("CPU", "OverclockEnable", false);
return;
}