summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-03 21:25:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-03 21:25:55 +0300
commitffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69 (patch)
tree7789e8528d0b088716e437b3f17a9540091f595a /src/gui/popupmenu.cpp
parent6938df9b82239a23637181f0de6f478336a0c33e (diff)
downloadManaVerse-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.gz
ManaVerse-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.bz2
ManaVerse-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.xz
ManaVerse-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.zip
add separator before drop and protect context menu items.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index b579e719b..6b9de206b 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -2566,6 +2566,7 @@ void PopupMenu::addProtection()
{
if (PlayerInfo::isItemProtected(mItemId))
{
+ mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
mBrowserBox->addRow("unprotect item", _("Unprotect item"));
}
@@ -2573,6 +2574,7 @@ void PopupMenu::addProtection()
{
if (mItemId < SPELL_MIN_ID)
{
+ mBrowserBox->addRow("##3---");
// TRANSLATORS: popup menu item
mBrowserBox->addRow("protect item", _("Protect item"));
}
@@ -2605,6 +2607,7 @@ void PopupMenu::addUseDrop(const Item *const item, const bool isProtected)
if (!isProtected)
{
+ mBrowserBox->addRow("##3---");
if (item->getQuantity() > 1)
{
// TRANSLATORS: popup menu item