Skip to content

a11y: SiteManagerDialog focus after site removal#72

Merged
Orinks merged 2 commits intodevfrom
fix/issue-39-focus-after-remove
Mar 4, 2026
Merged

a11y: SiteManagerDialog focus after site removal#72
Orinks merged 2 commits intodevfrom
fix/issue-39-focus-after-remove

Conversation

@Orinks
Copy link
Owner

@Orinks Orinks commented Mar 4, 2026

Summary

  • preserve a stable post-remove selection even when list selection is stale
  • return focus to the saved-sites list after removal using wx.CallAfter when available
  • keep _selected_site aligned to the newly selected row

Testing

  • PYTHONPATH=src pytest -q tests/test_site_manager_dialog.py

Fixes #39

@Orinks Orinks merged commit 02a676a into dev Mar 4, 2026
6 checks passed
@Orinks Orinks deleted the fix/issue-39-focus-after-remove branch March 4, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant