mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Closing providers not clearing selection correctly
This commit is contained in:
@@ -957,7 +957,7 @@ namespace hex::plugin::builtin {
|
||||
if (newProvider != nullptr) {
|
||||
m_hexEditor.setSelectionUnchecked(m_selectionStart.get(newProvider), m_selectionEnd.get(newProvider));
|
||||
} else {
|
||||
ImHexApi::HexEditor::clearSelection();
|
||||
m_hexEditor.setSelectionUnchecked(std::nullopt, std::nullopt);
|
||||
}
|
||||
|
||||
if (isSelectionValid()) {
|
||||
|
||||
Reference in New Issue
Block a user