mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
The WPF SharpTreeView bound ApplicationCommands.Delete at class level, so Delete deleted the top-level selection of any tree whose nodes opt in via CanDelete/Delete -- which is how a top-level analyzer entry was removed from the Analyzer pane. The Avalonia tree never received that binding; only the assembly list pane carried a hand-rolled Delete handler for assemblies, so the analyzer pane lost the key entirely even though its nodes still implement the deletion overrides. Moving the gesture back into SharpTreeView restores it for every tree and lets the pane-specific handler (with its own reselect logic) go. Assisted-by: Claude:claude-fable-5:Claude Codepull/4039/head
3 changed files with 67 additions and 33 deletions
Loading…
Reference in new issue