summaryrefslogtreecommitdiff
path: root/src/resources/theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/theme.cpp')
-rw-r--r--src/resources/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/theme.cpp b/src/resources/theme.cpp
index 1f7322a6..ad686e19 100644
--- a/src/resources/theme.cpp
+++ b/src/resources/theme.cpp
@@ -205,7 +205,7 @@ void Theme::event(Event::Channel channel, const Event &event)
{
if (channel == Event::ConfigChannel &&
event.getType() == Event::ConfigOptionChanged &&
- event.getString("option") == "guialpha")
+ event.hasValue(&Config::guiAlpha))
{
updateAlpha();
}