Fix Save All button is still enabled problem while no file to save.

Update state after closing tab (closes #935, fixes #850, fixes #915)
This commit is contained in:
Adrian Avramescu 2015-09-19 21:43:20 -07:00 committed by Don Ho
parent f02e567c9e
commit 90afac88c4

View File

@ -242,7 +242,10 @@ BOOL Notepad_plus::notify(SCNotification *notification)
{ {
activateBuffer(bufferToClose, iView); activateBuffer(bufferToClose, iView);
} }
fileClose(bufferToClose, iView);
if (fileClose(bufferToClose, iView))
checkDocState();
break; break;
} }