[BUG_FIXED] Fix reloaded file on dirty status issue.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1308 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
9cd8716863
commit
1ebef477cc
@ -4667,7 +4667,8 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask)
|
||||
if (doReloadOrNot(buffer->getFullPathName(), buffer->isDirty()) != IDYES)
|
||||
break; //abort
|
||||
}
|
||||
|
||||
// Set _isLoadedDirty false so when the document clean state is reached the icon will be set to blue
|
||||
buffer->setLoadedDirty(false);
|
||||
doReload(buffer->getID(), false);
|
||||
if (mainActive || subActive)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user