summaryrefslogtreecommitdiff
path: root/src/gui/popups/textpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-21 21:31:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-21 21:31:34 +0300
commitba307a72cb8bcfe068e362fab4a5e572d9ac65e9 (patch)
treec3f3d27c6c5ff2d7523832a023f910abe1b7e196 /src/gui/popups/textpopup.cpp
parentbd96450423276272e1cddf8be91cc63f860eb125 (diff)
downloadmanaverse-ba307a72cb8bcfe068e362fab4a5e572d9ac65e9.tar.gz
manaverse-ba307a72cb8bcfe068e362fab4a5e572d9ac65e9.tar.bz2
manaverse-ba307a72cb8bcfe068e362fab4a5e572d9ac65e9.tar.xz
manaverse-ba307a72cb8bcfe068e362fab4a5e572d9ac65e9.zip
Call Popup::postInit from all popups with overrided postInit method.
Diffstat (limited to 'src/gui/popups/textpopup.cpp')
-rw-r--r--src/gui/popups/textpopup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popups/textpopup.cpp b/src/gui/popups/textpopup.cpp
index e8556bbcb..8387e394d 100644
--- a/src/gui/popups/textpopup.cpp
+++ b/src/gui/popups/textpopup.cpp
@@ -39,6 +39,7 @@ TextPopup::TextPopup() :
void TextPopup::postInit()
{
+ Popup::postInit();
const int fontHeight = getFont()->getHeight();
int y = 0;
for (int f = 0; f < TEXTPOPUPCOUNT; f ++)