diff options
Diffstat (limited to 'src/gui/popups')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 | ||||
-rw-r--r-- | src/gui/popups/popupmenu.h | 2 |
2 files changed, 4 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, diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h index 69ca3c17b..f9b8cc639 100644 --- a/src/gui/popups/popupmenu.h +++ b/src/gui/popups/popupmenu.h @@ -202,4 +202,6 @@ class PopupMenu final : public Popup, public LinkHandler void showPopup(int x, int y); }; +extern PopupMenu *popupMenu; + #endif // GUI_POPUPS_POPUPMENU_H |