summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-16 19:40:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-16 19:40:42 +0300
commit829cd57e021ea85cffdbd3f3a7b18da835e00b7c (patch)
tree4dbc5c2eeb9a297697c58f6e45079d968b6350cd /src/gui/popups/popupmenu.cpp
parent31f5f2a630e17fa1a3726e38d1475357feba96ca (diff)
downloadmanaverse-829cd57e021ea85cffdbd3f3a7b18da835e00b7c.tar.gz
manaverse-829cd57e021ea85cffdbd3f3a7b18da835e00b7c.tar.bz2
manaverse-829cd57e021ea85cffdbd3f3a7b18da835e00b7c.tar.xz
manaverse-829cd57e021ea85cffdbd3f3a7b18da835e00b7c.zip
Create public variable for popupmenu.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index aac6c1b21..0add7e10d 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -96,6 +96,8 @@ extern int serverVersion;
std::string tradePartnerName;
+PopupMenu *popupMenu = nullptr;
+
PopupMenu::PopupMenu() :
Popup("PopupMenu", "popupmenu.xml"),
mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true,