[ENHANCEMENT] Enhance Function list panel: reload on saving.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1190 f5eea248-9336-0410-98b8-ebc06183d4e3
This commit is contained in:
parent
9554b8c79e
commit
f558747a2d
@ -31,6 +31,7 @@
|
||||
#include "FileDialog.h"
|
||||
#include "EncodingMapper.h"
|
||||
#include "VerticalFileSwitcher.h"
|
||||
#include "functionListPanel.h"
|
||||
#include <TCHAR.h>
|
||||
|
||||
|
||||
@ -313,6 +314,11 @@ bool Notepad_plus::doSave(BufferID id, const TCHAR * filename, bool isCopy)
|
||||
::MessageBox(_pPublicInterface->getHSelf(), error_msg.c_str(), TEXT("Save failed"), MB_OK);
|
||||
}
|
||||
}
|
||||
|
||||
if (_pFuncList && (!_pFuncList->isClosed()) && _pFuncList->isVisible())
|
||||
{
|
||||
_pFuncList->reload();
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,6 @@ public:
|
||||
void removeAllEntries();
|
||||
void removeEntry();
|
||||
void modifyEntry();
|
||||
void update();
|
||||
void searchFuncAndSwitchView();
|
||||
|
||||
protected:
|
||||
|
Loading…
Reference in New Issue
Block a user