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

Disable save prompt for some Launch commands #176

Closed
ProgerXP opened this issue Jul 28, 2018 · 3 comments
Closed

Disable save prompt for some Launch commands #176

ProgerXP opened this issue Jul 28, 2018 · 3 comments
Assignees
Labels

Comments

@ProgerXP
Copy link
Owner

Currently all commands under File > Launch submenu trigger the "save changes?" prompt. However, it should not appear for these two:

  1. Empty Window
  2. Open Folder
@cshnik
Copy link
Collaborator

cshnik commented Jul 30, 2018

Save prompt was caused by "Save on deactivate" feature #164 (e.g. for read-only files). Fixed.

@cshnik cshnik assigned ProgerXP and unassigned cshnik Jul 30, 2018
@ProgerXP
Copy link
Owner Author

No, it can't be caused by that feature because I have it disabled. And even if I enable it for a writeable file, it will just cause its saving (which is correct, no need to skip it). The problem is something else.

Enable Settings > Save Before Running Tools, open any existing file and invoke one of Launch commands. The prompt will appear. I believe your current fix should be reverted.

@ProgerXP ProgerXP assigned cshnik and unassigned ProgerXP Jul 30, 2018
@cshnik
Copy link
Collaborator

cshnik commented Aug 2, 2018

Fixed. FileSave()-calls (which caused prompt popup) removed for specified menu commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants