[BUG_FIXED] (Author: Andreas Jonsson) Fix "Doc switcher icon state not refreshed on 'save all'" bug.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@934 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
be4682a683
commit
a900e8d01d
@ -4205,6 +4205,9 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_pFileSwitcherPanel)
|
||||||
|
_pFileSwitcherPanel->setItemIconStatus((int)buffer);
|
||||||
|
|
||||||
if (!mainActive && !subActive)
|
if (!mainActive && !subActive)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
@ -4257,10 +4260,6 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask)
|
|||||||
setDisplayFormat(buffer->getFormat());
|
setDisplayFormat(buffer->getFormat());
|
||||||
enableConvertMenuItems(buffer->getFormat());
|
enableConvertMenuItems(buffer->getFormat());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_pFileSwitcherPanel)
|
|
||||||
_pFileSwitcherPanel->setItemIconStatus((int)buffer);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Notepad_plus::notifyBufferActivated(BufferID bufid, int view)
|
void Notepad_plus::notifyBufferActivated(BufferID bufid, int view)
|
||||||
|
Loading…
Reference in New Issue
Block a user