mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added 'card' to value actions, this fixes a bug where extra fields get updated with the wrong context, and it should also speed things up.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@673 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -113,9 +113,8 @@ void CardListBase::onAction(const Action& action, bool undone) {
|
||||
// No refresh needed, a ScriptValueEvent is only generated in response to a ValueAction
|
||||
return;
|
||||
}
|
||||
TYPE_CASE_(action, ValueAction) {
|
||||
refreshList();
|
||||
return;
|
||||
TYPE_CASE(action, ValueAction) {
|
||||
if (action.card) refreshList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user