diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index e2159cbd8..5eacbab01 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -3408,7 +3408,13 @@ void PopupMenu::addSocialMenu() mBrowserBox->addRow("/createparty", _("Create party")); } const Guild *const guild = localPlayer->getGuild(); - if (!guild) + if (guild) + { + // TRANSLATORS: popup menu item + // TRANSLATORS: leave guild + mBrowserBox->addRow("/leaveguild", _("Leave guild")); + } + else { // TRANSLATORS: popup menu item // TRANSLATORS: create guild |