fix: Closing providers not clearing selection correctly
This commit is contained in:
parent
973af4650c
commit
8fae55487a
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user