mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Qt/GraphicsSlider: Fix random crashes
This commit is contained in:
parent
467379c149
commit
a61445919d
1 changed files with 3 additions and 0 deletions
|
@ -23,7 +23,10 @@ GraphicsSlider::GraphicsSlider(int minimum, int maximum, const Config::ConfigInf
|
||||||
QFont bf = font();
|
QFont bf = font();
|
||||||
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
|
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
|
||||||
setFont(bf);
|
setFont(bf);
|
||||||
|
|
||||||
|
bool old = blockSignals(true);
|
||||||
setValue(Config::Get(m_setting));
|
setValue(Config::Get(m_setting));
|
||||||
|
blockSignals(old);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue