From ee699078a9f028ebd88a002216f0cd961f875b38 Mon Sep 17 00:00:00 2001 From: bensaine Date: Sat, 19 Feb 2022 12:26:37 -0500 Subject: [PATCH] change: way of checking if shift is pushed --- ryzom/client/src/interface_v3/bot_chat_page_trade.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp b/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp index 2ca15c4fa..edd5b9811 100644 --- a/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp +++ b/ryzom/client/src/interface_v3/bot_chat_page_trade.cpp @@ -2252,8 +2252,7 @@ class CAHConfirmTrade : public IActionHandler case 1: enableResale = true; break; default: // 2: comes only from Enter of Shift+Enter key from an edit box or in the modal window { - const NLGUI::CEventDescriptorKey& keyEvent = CWidgetManager::getInstance()->getLastKeyEvent(); - enableResale = ! keyEvent.getKeyShift(); + enableResale = !Driver->AsyncListener.isKeyPushed(KeySHIFT); } }