From 9245210c49f76856a30ea8bb077d97a8af0ee711 Mon Sep 17 00:00:00 2001 From: Michael M Date: Wed, 20 Sep 2017 09:33:52 -0700 Subject: Qt: bold graphics settings on ConfigChanged, not EmulationStateChanged EmulationStateChanged is functionally correct right now, but ConfigChanged expresses more semantically why the config setting gets re-read and the widgets updated. --- Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp') diff --git a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp index 25d390be19..c6aacd3d72 100644 --- a/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp +++ b/Source/Core/DolphinQt2/Config/Graphics/GraphicsBool.cpp @@ -16,7 +16,7 @@ GraphicsBool::GraphicsBool(const QString& label, const Config::ConfigInfo& connect(this, &QCheckBox::toggled, this, &GraphicsBool::Update); setChecked(Config::Get(m_setting) ^ reverse); - connect(&Settings::Instance(), &Settings::EmulationStateChanged, [this]() { + connect(&Settings::Instance(), &Settings::ConfigChanged, [this] { QFont bf = font(); bf.setBold(Config::GetActiveLayerForConfig(m_setting) != Config::LayerType::Base); setFont(bf); -- cgit v1.2.3