diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs index ad33f251..d9bbc0af 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/MainWindow.cs @@ -884,6 +884,9 @@ namespace UniversalEditor.UserInterface Pages.EditorPage currentEditorPage = GetCurrentEditorPage(); if (currentEditorPage != null) { + if (!GetCurrentEditor().NotifySaving()) + return; + SaveFile(currentEditorPage.Document); } }