mirror of https://github.com/buggins/dlangui.git
update version
This commit is contained in:
parent
f55d72c5a5
commit
6021717425
|
@ -252,12 +252,18 @@ class EditFrame : AppFrame {
|
||||||
switch (a.id) {
|
switch (a.id) {
|
||||||
case IDEActions.HelpAbout:
|
case IDEActions.HelpAbout:
|
||||||
case IDEActions.FileNew:
|
case IDEActions.FileNew:
|
||||||
case IDEActions.FileSave:
|
|
||||||
case IDEActions.FileOpen:
|
case IDEActions.FileOpen:
|
||||||
case IDEActions.DebugStart:
|
case IDEActions.DebugStart:
|
||||||
case IDEActions.EditPreferences:
|
case IDEActions.EditPreferences:
|
||||||
|
case IDEActions.FileSaveAs:
|
||||||
a.state = ACTION_STATE_ENABLED;
|
a.state = ACTION_STATE_ENABLED;
|
||||||
return true;
|
return true;
|
||||||
|
case IDEActions.FileSave:
|
||||||
|
if (_content.modified)
|
||||||
|
a.state = ACTION_STATE_ENABLED;
|
||||||
|
else
|
||||||
|
a.state = ACTION_STATE_DISABLED;
|
||||||
|
return true;
|
||||||
default:
|
default:
|
||||||
return super.handleActionStateRequest(a);
|
return super.handleActionStateRequest(a);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
v0.9.139
|
v0.9.140
|
Loading…
Reference in New Issue