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

Ask when closing/opening new file if file changed and not saved #12

Open
aimed opened this issue Dec 7, 2017 · 1 comment
Open

Ask when closing/opening new file if file changed and not saved #12

aimed opened this issue Dec 7, 2017 · 1 comment

Comments

@aimed
Copy link
Owner

aimed commented Dec 7, 2017

No description provided.

@aimed
Copy link
Owner Author

aimed commented Dec 7, 2017

Asking before opening a new file has been implemented.
Having problems adding the ask before closing feature.
Neither of these seems to work:

    electron.remote.getCurrentWindow().addListener('close', this.handleClose);
    electron.remote.app.addListener('before-quit', this.handleClose);

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

No branches or pull requests

1 participant