quick fix for dmledit

This commit is contained in:
James Johnson 2017-12-03 03:09:36 -05:00
parent 29aa9ab6c2
commit 846ea37565
1 changed files with 2 additions and 2 deletions

View File

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