Debugger: HexBox - Fixed issue with cursor jumping back to hex mode when trying to type ascii

This commit is contained in:
Souryo 2017-09-02 00:42:36 -04:00
parent 027470186d
commit dc5ddaf87e

View file

@ -3255,10 +3255,12 @@ namespace Be.Windows.Forms
if (_byteProvider == value)
return;
if (value == null)
ActivateEmptyKeyInterpreter();
else
ActivateKeyInterpreter();
if(_keyInterpreter == null) {
if(value == null)
ActivateEmptyKeyInterpreter();
else
ActivateKeyInterpreter();
}
if (_byteProvider != null)
_byteProvider.LengthChanged -= new EventHandler(_byteProvider_LengthChanged);