diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-04 13:51:55 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-04 13:51:55 +0200 |
| commit | 300c3970f3b81d064d3c018f742c474a5b608de5 (patch) | |
| tree | f019933317a019332902baefe44acb71bb4e38b0 /Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp | |
| parent | a5e410b7c9e07ab7d34e465c27c0f783a3b09675 (diff) | |
Qt/GraphicsControls: Fix more random crashes
Diffstat (limited to 'Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp index 1285909474..86e7b62861 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp @@ -20,7 +20,10 @@ GraphicsBool::GraphicsBool(const QString& label, const Config::ConfigInfo<bool>& QFont bf = font(); bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); setFont(bf); + + bool old = blockSignals(true); setChecked(Config::Get(m_setting) ^ m_reverse); + blockSignals(old); }); } |
