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

PR: Enable 'Save All' if there are files to be saved #2952

Merged
merged 1 commit into from
Jan 27, 2016

Conversation

jitseniesen
Copy link
Member

At the moment 'Save All' is enabled if editor stack 0 has more than one file open and if one of the files opened in editor stack 0 has been changed. However, the 'Save All' action saves all changed files in the current editor stack (not editor stack 0), with no condition on the number of files opened.

This change ensures that 'Save All' is enabled precisely when 'Save All' would do something, that is, when the current editor stack has a file that has been changed.

@goanpeca
Copy link
Member

Thanks @jitseniesen

LGTM 👍

@goanpeca goanpeca changed the title Enable 'Save All' if there are files to be saved PR: Enable 'Save All' if there are files to be saved Jan 27, 2016
@goanpeca goanpeca added this to the v3.0beta3 milestone Jan 27, 2016
@ccordoba12
Copy link
Member

Yep, looks good to me too. Thanks for your contribution @jitseniesen!

ccordoba12 added a commit that referenced this pull request Jan 27, 2016
PR: Enable 'Save All' if there are files to be saved
@ccordoba12 ccordoba12 merged commit 4368238 into spyder-ide:master Jan 27, 2016
@jitseniesen jitseniesen deleted the refresh_saveall branch January 27, 2016 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants