summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-21 00:42:40 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-21 02:50:12 +0300
commitf3fcd24e8597feaabab67d0d354aef803958a465 (patch)
tree06b17d34696a7acca422a26352d022f31e51ce90 /src/gui/popupmenu.h
parentdff5c359fc0aec10a63556b7072d5e724ec0bf8e (diff)
downloadmanaverse-f3fcd24e8597feaabab67d0d354aef803958a465.tar.gz
manaverse-f3fcd24e8597feaabab67d0d354aef803958a465.tar.bz2
manaverse-f3fcd24e8597feaabab67d0d354aef803958a465.tar.xz
manaverse-f3fcd24e8597feaabab67d0d354aef803958a465.zip
Fix possible crash with nav poinst rename dialog.
Diffstat (limited to 'src/gui/popupmenu.h')
-rw-r--r--src/gui/popupmenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popupmenu.h b/src/gui/popupmenu.h
index 431d7e7de..95cc3f65c 100644
--- a/src/gui/popupmenu.h
+++ b/src/gui/popupmenu.h
@@ -174,6 +174,8 @@ class PopupMenu final : public Popup, public LinkHandler
void handleLink(const std::string &link,
gcn::MouseEvent *event A_UNUSED) override;
+ void clear();
+
private:
void addPlayerRelation(std::string name);