1
0
mirror of synced 2024-11-25 00:00:27 +01:00

fix: Make disassembler view not clear selection when typing in region

This commit is contained in:
WerWolv 2023-06-24 20:53:36 +02:00
parent cc55ca3117
commit c280b16787

View File

@ -94,12 +94,6 @@ namespace hex::plugin::builtin {
ui::regionSelectionPicker(&this->m_codeRegion, provider, &this->m_range);
if (ImGui::IsItemEdited()) {
// Force execution of Region Selection Event
ImHexApi::HexEditor::setSelection(0, 0);
}
ImGui::Header("hex.builtin.common.settings"_lang);
if (ImGui::Combo("hex.builtin.view.disassembler.arch"_lang, reinterpret_cast<int *>(&this->m_architecture), Disassembler::ArchitectureNames.data(), Disassembler::getArchitectureSupportedCount()))