Merge pull request #528 from triplejam/master

quick fix for dmledit
This commit is contained in:
Vadim Lopatin 2017-12-04 06:06:17 +03:00 committed by GitHub
commit aa3fabc7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -259,10 +259,10 @@ class EditFrame : AppFrame {
a.state = ACTION_STATE_ENABLED;
return true;
case IDEActions.FileSave:
if (_content.modified)
if (_editor.content.modified)
a.state = ACTION_STATE_ENABLED;
else
a.state = ACTION_STATE_DISABLED;
a.state = ACTION_STATE_DISABLE;
return true;
default:
return super.handleActionStateRequest(a);