summaryrefslogtreecommitdiff
path: root/src/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui.cpp')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 25b794ec..fcb4b0d9 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -172,6 +172,9 @@ Gui::Gui(Graphics *graphics):
mConfigListener = new GuiConfigListener(this);
config.addListener("customcursor", mConfigListener);
+ // XXX FIXME: Just a temporary solution to work around a bug, better way
+ // would be to implement a FontManager class.
+ gui = this;
mPopup = new PopupMenu();
}