From 25d04f65bde960367d953abf83856829d57a903a Mon Sep 17 00:00:00 2001 From: Nimetu Date: Thu, 19 Sep 2019 13:07:41 +0300 Subject: [PATCH] Fixed: Inventory and npc trade items list did not show crafted item names. --HG-- branch : develop --- code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp b/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp index fe7c3b281..8a3064a12 100644 --- a/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp +++ b/code/ryzom/client/src/interface_v3/dbctrl_sheet.cpp @@ -100,7 +100,6 @@ void CControlSheetInfoWaiter::infoReceived() ucstring CControlSheetInfoWaiter::infoValidated() const { ucstring help; - if (CtrlSheet && !LuaMethodName.empty()) { // delegate setup of context he help ( & window ) to lua @@ -3396,6 +3395,9 @@ void CDBCtrlSheet::getContextHelp(ucstring &help) const // call lua function to update tooltip window _ItemInfoWaiter.sendRequest(); help = _ItemInfoWaiter.infoValidated(); + // its expected to get at least item name back + if (help.empty()) + help = getItemActualName(); } else if (!_ContextHelp.empty()) {