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 bug in special handling of closing the last tab #385

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

wanderor
Copy link
Contributor

This app currently handles the closing of the last tab specially.

When closing a tab, the typical behaviors are:

  • Ask user for confirmation if the settings say so.
  • After the tab is closed, it is gone. If I quite the app and then reopen it, that tab will not show up again.

However, when closing the last tab, the behavior is:

  • No user confirmation is requested, even if the settings say so.
  • If I quite the app and then reopen it, the closed tab comes back.

This commit fixes this behavior.

wanderor added 2 commits July 20, 2024 00:16
This app currently handles the closing of the last tab specially.

When closing a tab, the typical behaviors are:
- Ask user for confirmation if the settings say so.
- After the tab is closed, it is gone. If I quite the app and then reopen it, that tab will not show up again.

However, when closing the last tab, the behavior is:
- No user confirmation is requested, even if the settings say so.
- If I quite the app and then reopen it, the closed tab comes back.

This commit fixes this behavior.
@plateaukao plateaukao merged commit 805dd07 into plateaukao:main Jul 19, 2024
1 check failed
@plateaukao
Copy link
Owner

@wanderor
thanks for the pull request. :)

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.

2 participants