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 8de275ae..966f0e94 100644
--- a/src/resources/theme.cpp
+++ b/src/resources/theme.cpp
@@ -211,7 +211,7 @@ void Theme::updateAlpha()
void Theme::event(Channels channel, const Mana::Event &event)
{
if (channel == CHANNEL_CONFIG &&
- event.getName() == EVENT_CONFIGOPTIONCHANGED &&
+ event.getType() == Mana::Event::ConfigOptionChanged &&
event.getString("option") == "guialpha")
{
updateAlpha();