mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
DockWorkspace keeps the last remaining document un-closeable (CanClose false) so the document area can't be emptied, and Dock's own close button already honours that. The context-menu Close entry did not, so a right-click still offered to close the final tab. Bind its IsEnabled to the tab's CanClose, which is observable, so it tracks tabs opening and closing. Assisted-by: Claude:claude-opus-4-8:Claude Codepull/3755/head
2 changed files with 34 additions and 0 deletions
Loading…
Reference in new issue