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/GraphicsChoice.cpp | |
| parent | a5e410b7c9e07ab7d34e465c27c0f783a3b09675 (diff) | |
Qt/GraphicsControls: Fix more random crashes
Diffstat (limited to 'Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp index 3df59a38c6..4e7c95ed41 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp @@ -19,7 +19,10 @@ GraphicsChoice::GraphicsChoice(const QStringList& options, const Config::ConfigI QFont bf = font(); bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); setFont(bf); + + bool old = blockSignals(true); setCurrentIndex(Config::Get(m_setting)); + blockSignals(old); }); } |
