From f3f13ae4d3e4aad5b7582c3bd94d8578e990c259 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 23 Jul 2022 21:31:54 +0200 Subject: [PATCH] fix: Jumping to selection not working correctly with set base address --- plugins/builtin/source/content/views/view_hex_editor.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index 5a74a55a6..b96010230 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -1267,7 +1267,6 @@ namespace hex::plugin::builtin { if (region.size != 0) { provider->setCurrentPage(page.value()); - region.address -= provider->getBaseAddress() + provider->getCurrentPageAddress(); this->setSelection(region); this->jumpToSelection(); }