Delayed updating of scripts on keyword changes

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@383 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-05-15 16:43:13 +00:00
parent 82a7690909
commit ee6f0b9df7
5 changed files with 28 additions and 2 deletions
+3
View File
@@ -131,6 +131,9 @@ void KeywordsPanel::destroyUI(wxToolBar* tb, wxMenuBar* mb) {
tb->DeleteTool(ID_KEYWORD_REMOVE);
// Menus
mb->Remove(2);
// This is also a good moment to propagate changes
if (set) set->updateDelayed();
}
void KeywordsPanel::onUpdateUI(wxUpdateUIEvent& ev) {