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

Intercept and prevent window closing #1115

Closed
jneem opened this issue Aug 6, 2020 · 2 comments
Closed

Intercept and prevent window closing #1115

jneem opened this issue Aug 6, 2020 · 2 comments
Labels
enhancement adds or requests a new feature

Comments

@jneem
Copy link
Collaborator

jneem commented Aug 6, 2020

When the user tries to close my application, I'd like to be able to intercept the request (for example to pop up an "Are you sure? There are unsaved changes") modal. I'm guessing this requires a new method on the WinHandler trait.

@luleyleo luleyleo added the enhancement adds or requests a new feature label Aug 6, 2020
@luleyleo
Copy link
Collaborator

@jneem can we close this in favor of #1159 ?

@jneem
Copy link
Collaborator Author

jneem commented Sep 10, 2020

Sounds good to me.

@jneem jneem closed this as completed Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement adds or requests a new feature
Projects
None yet
Development

No branches or pull requests

2 participants