|
|
@ -2252,8 +2252,7 @@ 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
|
|
|
|
{
|
|
|
|
{
|
|
|
|
const NLGUI::CEventDescriptorKey& keyEvent = CWidgetManager::getInstance()->getLastKeyEvent();
|
|
|
|
enableResale = !Driver->AsyncListener.isKeyPushed(KeySHIFT);
|
|
|
|
enableResale = ! keyEvent.getKeyShift();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|