From 36014b706df18e5b37b072de748a3e1a589958a9 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 15 Dec 2024 10:52:11 +0100 Subject: [PATCH] fix: Wrong header location in disassembler view --- .../disassembler/source/content/views/view_disassembler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/disassembler/source/content/views/view_disassembler.cpp b/plugins/disassembler/source/content/views/view_disassembler.cpp index 285c2317d..e79f5a0e5 100644 --- a/plugins/disassembler/source/content/views/view_disassembler.cpp +++ b/plugins/disassembler/source/content/views/view_disassembler.cpp @@ -138,10 +138,10 @@ namespace hex::plugin::disasm { void ViewDisassembler::drawContent() { auto provider = ImHexApi::Provider::get(); if (ImHexApi::Provider::isValid() && provider->isReadable()) { - ImGuiExt::Header("hex.disassembler.view.disassembler.position"_lang, true); - // Draw region selection picker - ui::regionSelectionPicker(&m_regionToDisassemble, provider, &m_range); + ui::regionSelectionPicker(&m_regionToDisassemble, provider, &m_range, true, true); + + ImGuiExt::Header("hex.disassembler.view.disassembler.position"_lang); // Draw base address input ImGuiExt::InputHexadecimal("hex.disassembler.view.disassembler.image_load_address"_lang, &m_imageLoadAddress, ImGuiInputTextFlags_CharsHexadecimal);