mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user