Permalink
Browse files

Qt/GraphicsSlider: Fix random crashes

  • Loading branch information...
spycrab committed May 3, 2018
1 parent 467379c commit a61445919d3b84f8dacffe07f7511a4173e2b34f
Showing with 3 additions and 0 deletions.
  1. +3 −0 Source/Core/DolphinQt2/Config/Graphics/GraphicsSlider.cpp
@@ -23,7 +23,10 @@ GraphicsSlider::GraphicsSlider(int minimum, int maximum, const Config::ConfigInf
QFont bf = font();
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
setFont(bf);
bool old = blockSignals(true);
setValue(Config::Get(m_setting));
blockSignals(old);
});
}

0 comments on commit a614459

Please sign in to comment.