Fixed crash when copying cards with has_styling

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@732 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-09-21 17:29:28 +00:00
parent 40cb2bcfac
commit 0a517cf688
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -67,6 +67,8 @@ IMPLEMENT_REFLECTION(Card) {
} else if (stylesheet_for_reading()) {
REFLECT_IF_READING styling_data.init(stylesheet_for_reading()->styling_fields);
REFLECT(styling_data);
} else if (tag.reading()) {
has_styling = false; // We don't know the style, this can be because of copy/pasting
}
}
REFLECT(notes);