mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-21 21:04:54 +02:00
Fix statusbar not updating
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository@229 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
c87f33fbea
commit
a979745f97
@ -7912,6 +7912,7 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask) {
|
||||
checkUnicodeMenuItems(buffer->getUnicodeMode());
|
||||
setUniModeText(buffer->getUnicodeMode());
|
||||
setDisplayFormat(buffer->getFormat());
|
||||
enableConvertMenuItems(buffer->getFormat());
|
||||
}
|
||||
|
||||
}
|
||||
@ -7934,6 +7935,10 @@ void Notepad_plus::notifyBufferActivated(BufferID bufid, int view) {
|
||||
dynamicCheckMenuAndTB();
|
||||
setLangStatus(buf->getLangType());
|
||||
updateStatusBar();
|
||||
checkUnicodeMenuItems(buf->getUnicodeMode());
|
||||
setUniModeText(buf->getUnicodeMode());
|
||||
setDisplayFormat(buf->getFormat());
|
||||
enableConvertMenuItems(buf->getFormat());
|
||||
char dir[MAX_PATH];
|
||||
strcpy(dir, buf->getFilePath());
|
||||
PathRemoveFileSpec(dir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user