summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/textpopup.cpp2
-rw-r--r--src/gui/popups/textpopup.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/textpopup.cpp b/src/gui/popups/textpopup.cpp
index 5eff7fd4a..b7e17fece 100644
--- a/src/gui/popups/textpopup.cpp
+++ b/src/gui/popups/textpopup.cpp
@@ -29,6 +29,8 @@
#include "debug.h"
+TextPopup *textPopup = nullptr;
+
TextPopup::TextPopup() :
Popup("TextPopup", "textpopup.xml"),
mText()
diff --git a/src/gui/popups/textpopup.h b/src/gui/popups/textpopup.h
index c36b94838..4d8c2cc5e 100644
--- a/src/gui/popups/textpopup.h
+++ b/src/gui/popups/textpopup.h
@@ -78,4 +78,6 @@ class TextPopup final : public Popup
Label *mText[TEXTPOPUPCOUNT];
};
+extern TextPopup *textPopup;
+
#endif // GUI_POPUPS_TEXTPOPUP_H