Incorrect data displayed after modifying file and pressing Ctrl+S
Load big (26,7 MB) windows executable file in GHex. Edit first byte, press Ctrl+S to save changes.
After pressing save hotkey GHex displays incorrect data. Data is from same file, but from further location (0x28B201 in this case). Any operation that refreshes view will redraw correct data, but it is very disturbing when after changing single byte it appears that whole file was changed.
Initial view, data was not modified:
I change first byte to 00 and press Ctrl+S, and here's how GHex display looks like: Notice, that all data after modified byte is incorrect.