Compare commits

..

No commits in common. '51-shift-enter-at-merchant-no-longer-sells-to-merchant' and 'main/gingo-test' have entirely different histories.

@ -2252,7 +2252,8 @@ class CAHConfirmTrade : public IActionHandler
case 1: enableResale = true; break; case 1: enableResale = true; break;
default: // 2: comes only from Enter of Shift+Enter key from an edit box or in the modal window default: // 2: comes only from Enter of Shift+Enter key from an edit box or in the modal window
{ {
enableResale = !Driver->AsyncListener.isKeyPushed(KeySHIFT); const NLGUI::CEventDescriptorKey& keyEvent = CWidgetManager::getInstance()->getLastKeyEvent();
enableResale = ! keyEvent.getKeyShift();
} }
} }

Loading…
Cancel
Save