implemented 'default set style', so that doesn't have to be duplicated for each style

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@224 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-03-22 12:57:10 +00:00
parent 3f0c284a50
commit 2a2471fda7
7 changed files with 97 additions and 55 deletions
+2 -2
View File
@@ -69,8 +69,8 @@ IMPLEMENT_REFLECTION(StyleSheet) {
REFLECT(card_background);
if (game) {
REFLECT_IF_READING {
card_style .init(game->card_fields);
set_info_style.init(game->set_fields);
card_style.init(game->card_fields);
set_info_style.cloneFrom(game->default_set_style);
}
REFLECT(card_style);
REFLECT(set_info_style);