mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
style specific fields are now editable&saveable
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@392 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -196,8 +196,8 @@ void SetScriptManager::updateStyles(const CardP& card) {
|
||||
const StyleSheet& stylesheet = set.stylesheetFor(card);
|
||||
Context& ctx = getContext(card);
|
||||
// update extra card fields
|
||||
card->extra_data.init(stylesheet.extra_card_fields);
|
||||
FOR_EACH(v, card->extra_data) {
|
||||
IndexMap<FieldP,ValueP>& extra_data = card->extraDataFor(stylesheet);
|
||||
FOR_EACH(v, extra_data) {
|
||||
v->update(ctx);
|
||||
}
|
||||
// update all styles
|
||||
|
||||
Reference in New Issue
Block a user