Merge branch 'DirtyEditorSettingsStar' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-DirtyEditorSettingsStar
This commit is contained in:
@@ -45,7 +45,7 @@ namespace FlaxEditor.Windows
|
||||
{
|
||||
Parent = this
|
||||
};
|
||||
_saveButton = (ToolStripButton)toolstrip.AddButton(editor.Icons.Save64, SaveData).LinkTooltip("Save");
|
||||
_saveButton = (ToolStripButton)toolstrip.AddButton(editor.Icons.Save64, SaveData).LinkTooltip("Save.");
|
||||
_saveButton.Enabled = false;
|
||||
|
||||
_tabs = new Tabs
|
||||
@@ -104,6 +104,8 @@ namespace FlaxEditor.Windows
|
||||
{
|
||||
_saveButton.Enabled = true;
|
||||
_isDataDirty = true;
|
||||
if (!Title.EndsWith('*'))
|
||||
Title += "*";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,6 +115,8 @@ namespace FlaxEditor.Windows
|
||||
{
|
||||
_saveButton.Enabled = false;
|
||||
_isDataDirty = false;
|
||||
if (Title.EndsWith('*'))
|
||||
Title = Title.Remove(Title.Length - 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user