added 'undone' parameter to onAction

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@43 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-20 14:24:36 +00:00
parent 44b516036d
commit 20f0efacd7
17 changed files with 93 additions and 55 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ void SymbolPartList::onChangeSymbol() {
update();
}
void SymbolPartList::onAction(const Action& action) {
void SymbolPartList::onAction(const Action& action, bool undone) {
TYPE_CASE(action, ReorderSymbolPartsAction) {
if (selected == (long) action.part_id1) {
selectItem((long) action.part_id2);