some editors want to be notified when they are saved (e.g. for undo/redo stuff)
This commit is contained in:
parent
c3a1516811
commit
47ac9d52ad
@ -884,6 +884,9 @@ namespace UniversalEditor.UserInterface
|
||||
Pages.EditorPage currentEditorPage = GetCurrentEditorPage();
|
||||
if (currentEditorPage != null)
|
||||
{
|
||||
if (!GetCurrentEditor().NotifySaving())
|
||||
return;
|
||||
|
||||
SaveFile(currentEditorPage.Document);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user