diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2018-05-05 03:02:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-05 03:02:43 +0200 |
| commit | 798639291f9b3ea7cd9484b33bd220e4b6badb44 (patch) | |
| tree | 95e2231e78fcfbb9091bbe2a06260e4895a2533e /Source/Core/DolphinQt2/Config/Graphics/GraphicsChoice.cpp | |
| parent | 5106724c85a9b685d040abdc85e9449d87611349 (diff) | |
| parent | 300c3970f3b81d064d3c018f742c474a5b608de5 (diff) | |
Merge pull request #6749 from spycrab/qt_gcontrols_crash
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); }); } |
