Qt/GraphicsControls: Reload values when settings are changed

This commit is contained in:
spycrab
2018-04-29 12:17:39 +02:00
parent e51cf8870e
commit 417d191c9e
4 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,7 @@ GraphicsBool::GraphicsBool(const QString& label, const Config::ConfigInfo<bool>&
QFont bf = font();
bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base);
setFont(bf);
setChecked(Config::Get(m_setting) ^ m_reverse);
});
}