diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-03 21:25:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-03 21:25:55 +0300 |
commit | ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69 (patch) | |
tree | 7789e8528d0b088716e437b3f17a9540091f595a /src | |
parent | 6938df9b82239a23637181f0de6f478336a0c33e (diff) | |
download | mv-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.gz mv-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.bz2 mv-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.tar.xz mv-ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69.zip |
add separator before drop and protect context menu items.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popupmenu.cpp | 3 |
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 |