Merge remote-tracking branch 'origin/51-shift-enter-at-merchant-no-longer-sells-to-merchant' into main/yubo-dev

main/yubo-dev
Nuno 3 years ago
commit 1fc8cabb22

@ -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);
}
}

Loading…
Cancel
Save