parent
98c4990175
commit
861f863ef7
|
@ -746,6 +746,8 @@ void Notepad_plus::doClose(BufferID id, int whichOne, bool doDeleteBackup)
|
|||
// if the current activated buffer is in this view,
|
||||
// then get buffer ID to remove the entry from File Switcher Pannel
|
||||
hiddenBufferID = reinterpret_cast<BufferID>(::SendMessage(_pPublicInterface->getHSelf(), NPPM_GETBUFFERIDFROMPOS, 0, whichOne));
|
||||
if (!isBufRemoved && hiddenBufferID != BUFFER_INVALID && _pFileSwitcherPanel)
|
||||
_pFileSwitcherPanel->closeItem(hiddenBufferID, whichOne);
|
||||
}
|
||||
|
||||
// Notify plugins that current file is closed
|
||||
|
|
Loading…
Reference in New Issue