mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
minor optimization
This commit is contained in:
parent
014e5e9b2d
commit
a00af19e37
@ -6737,7 +6737,7 @@ void Notepad_plus::notifyBufferChanged(Buffer * buffer, int mask)
|
||||
else if (_subEditView.getCurrentBuffer() == buffer)
|
||||
_autoCompleteSub.setLanguage(buffer->getLangType());
|
||||
|
||||
if (_pFuncList)
|
||||
if (_pFuncList && (!_pFuncList->isClosed()) && _pFuncList->isVisible())
|
||||
_pFuncList->reload(); // sync FL with the current buffer lang
|
||||
|
||||
SCNotification scnN{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user