From 4d1eca1a65efe803fd949de209c01865bfd2f3bb Mon Sep 17 00:00:00 2001 From: Nuno Date: Thu, 13 Jan 2022 17:28:09 +0100 Subject: [PATCH] Remove Open menu option from scroll items when item use a Scroll.Label --- ryzom/client/src/interface_v3/action_handler_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryzom/client/src/interface_v3/action_handler_item.cpp b/ryzom/client/src/interface_v3/action_handler_item.cpp index 67f0d18ee..ff4034b3d 100644 --- a/ryzom/client/src/interface_v3/action_handler_item.cpp +++ b/ryzom/client/src/interface_v3/action_handler_item.cpp @@ -1881,7 +1881,7 @@ class CHandlerItemMenuCheck : public IActionHandler } if (pItemTextDisplay && pIS->Family == ITEMFAMILY::SCROLL) { - if (pCS->getInventoryIndex()==INVENTORIES::bag) + if (pCS->getInventoryIndex()==INVENTORIES::bag && pIS->Scroll.Label.empty()) pItemTextDisplay->setActive(true); pItemInfos->setActive(false); }