mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-11 06:59:07 +01:00
Qt/GraphicsSlider: Fix random crashes
This commit is contained in:
parent
467379c149
commit
a61445919d
@ -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…
x
Reference in New Issue
Block a user