[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:
Don Ho 2014-02-24 22:38:56 +00:00
parent 9554b8c79e
commit f558747a2d
2 changed files with 6 additions and 1 deletions

View File

@ -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;
}

View File

@ -113,7 +113,6 @@ public:
void removeAllEntries();
void removeEntry();
void modifyEntry();
void update();
void searchFuncAndSwitchView();
protected: