diff --git a/PowerEditor/src/NppNotification.cpp b/PowerEditor/src/NppNotification.cpp index 204038b60..3937dc4bb 100644 --- a/PowerEditor/src/NppNotification.cpp +++ b/PowerEditor/src/NppNotification.cpp @@ -242,7 +242,10 @@ BOOL Notepad_plus::notify(SCNotification *notification) { activateBuffer(bufferToClose, iView); } - fileClose(bufferToClose, iView); + + if (fileClose(bufferToClose, iView)) + checkDocState(); + break; }