From a259a5380ca980da4fcfb866777192231aa9f854 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 12:37:55 +0300 Subject: move virtual member calls from textcommandeditor constructor into postInit. --- src/gui/popups/popupmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/popups/popupmenu.cpp') diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index ce96d2abd..daee76630 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1341,7 +1341,7 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "edit spell" && mSpell) { - new TextCommandEditor(mSpell); + (new TextCommandEditor(mSpell))->postInit(); } else if (link == "undress" && being) { -- cgit v1.2.3-60-g2f50