diff --git a/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp b/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp index 5cc2744c0a..e1cacc84af 100644 --- a/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp +++ b/src/apps/debugger/user_interface/gui/inspector_window/MemoryView.cpp @@ -358,6 +358,8 @@ MemoryView::KeyDown(const char* bytes, int32 numBytes) if (!fEditLowNybble) newAddress--; fEditLowNybble = !fEditLowNybble; + if (newAddress == fTargetAddress) + Invalidate(); } else newAddress -= blockSize; break; @@ -368,6 +370,8 @@ MemoryView::KeyDown(const char* bytes, int32 numBytes) if (fEditLowNybble) newAddress++; fEditLowNybble = !fEditLowNybble; + if (newAddress == fTargetAddress) + Invalidate(); } else newAddress += blockSize; break;