summaryrefslogtreecommitdiff
path: root/src/gui/popups/textpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/textpopup.cpp')
-rw-r--r--src/gui/popups/textpopup.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/popups/textpopup.cpp b/src/gui/popups/textpopup.cpp
index 2b89e388b..73f5fbad0 100644
--- a/src/gui/popups/textpopup.cpp
+++ b/src/gui/popups/textpopup.cpp
@@ -33,6 +33,10 @@ TextPopup::TextPopup():
Popup("TextPopup", "textpopup.xml"),
mText()
{
+}
+
+void TextPopup::postInit()
+{
const int fontHeight = getFont()->getHeight();
int y = 0;
for (int f = 0; f < TEXTPOPUPCOUNT; f ++)