diff options
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r-- | src/gui/gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 39314fcf..a59242dc 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -177,7 +177,7 @@ void Gui::event(Event::Channel channel, const Event &event) if (channel == Event::ConfigChannel) { if (event.getType() == Event::ConfigOptionChanged && - event.getString("option") == "customcursor") + event.hasValue(&Config::customCursor)) { setUseCustomCursor(config.customCursor); } |