Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix automatic window opening when switching to preference pane #30

Closed

Conversation

stevenlei
Copy link
Collaborator

Description

When switching to teaBASE after another custom preference pane was open, all modal windows (SSH passphrase, GPG passphrase, Homebrew install, etc.) would automatically open at once. This behavior was unintended as these windows should only open on-demand when their respective features are accessed.

Changes

  • Added closeAllWindows method to explicitly manage window state
  • Updated willSelect to call closeAllWindows before initializing the pane

Closes #29

@stevenlei stevenlei closed this Dec 20, 2024
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.

Fix: All modal windows open automatically when switching to teaBASE preference pane
1 participant