From ffd163ef0cfcc74ed0d2cda2fd8df20eb46d8f69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Sep 2013 21:25:55 +0300 Subject: add separator before drop and protect context menu items. --- src/gui/popupmenu.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-60-g2f50