Fix #364 - autosave only saves changed tabs
This commit is contained in:
parent
c57fcf8c3d
commit
1ff333f1f1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ define([
|
|||
var autosave = function() {
|
||||
status.toast(i18n.get("fileAutosaving"));
|
||||
state.tabs.forEach(function(tab) {
|
||||
if (tab.file && !tab.file.virtual) {
|
||||
if (tab.file && !tab.file.virtual && tab.modified) {
|
||||
tab.save();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue