Permalink
Browse files

Merge pull request #6746 from spycrab/qt_slider

Qt/GraphicsSlider: Fix random crashes
  • Loading branch information...
stenzek committed May 3, 2018
2 parents 467379c + a614459 commit 47fe1c852ff78f7bfd8540d24226ac2541cc950a
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 47fe1c8

Please sign in to comment.