1
0
mirror of synced 2024-11-28 17:40:51 +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); 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); 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())) if (ImGui::Combo("hex.builtin.view.disassembler.arch"_lang, reinterpret_cast<int *>(&this->m_architecture), Disassembler::ArchitectureNames.data(), Disassembler::getArchitectureSupportedCount()))