This commit is contained in:
Vadim Lopatin 2017-09-11 14:27:04 +03:00
parent 856f6d09ab
commit 5af9060332
2 changed files with 10 additions and 1 deletions

View File

@ -462,6 +462,15 @@ class DSourceEdit : SourceEdit, EditableContentMarksChangeListener {
else
a.state = ACTION_STATE_DISABLE;
return true;
case IDEActions.FileSaveAs:
a.state = ACTION_STATE_ENABLED;
return true;
case IDEActions.FileSave:
if (_content.modified)
a.state = ACTION_STATE_ENABLED;
else
a.state = ACTION_STATE_DISABLE;
return true;
default:
return super.handleActionStateRequest(a);
}

View File

@ -1 +1 @@
v0.7.71
v0.7.72