From 63d1f0069700b0810ef51cec8e75f7a5df991da0 Mon Sep 17 00:00:00 2001 From: Ircama Date: Wed, 25 Jan 2023 00:15:15 +0100 Subject: [PATCH] Clear hex selection each time a construct panel entry is selected --- construct_editor/wx_widgets/wx_construct_hex_editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/construct_editor/wx_widgets/wx_construct_hex_editor.py b/construct_editor/wx_widgets/wx_construct_hex_editor.py index ccbc7a3..7d444e0 100644 --- a/construct_editor/wx_widgets/wx_construct_hex_editor.py +++ b/construct_editor/wx_widgets/wx_construct_hex_editor.py @@ -269,6 +269,7 @@ def _on_entry_selected(self, entry: t.Optional[EntryConstruct]): def _show_stream_infos(self, stream_infos: t.List[StreamInfo]): hex_pnl = self.hex_panel + hex_pnl.hex_editor._grid.ClearSelection() panel_stream_mapping: t.List[t.Tuple[HexEditorPanel, StreamInfo]] = [] # Create all Sub-Panels