mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 05:36:59 -04:00
Fixed possible crash bug with card specific style options. By changing the set stylesheet it was possible for the option values to be matched with the wrong fields.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@981 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -101,6 +101,7 @@ class ChangeSetStyleAction : public DisplayChangeAction {
|
||||
Set& set; ///< The affected set
|
||||
CardP card; ///< The card whos stylesheet is copied to the set
|
||||
StyleSheetP stylesheet; ///< The old stylesheet of the set
|
||||
vector<int> has_styling; ///< The old has_styling values of all cards (vector<bool> is evil)
|
||||
};
|
||||
|
||||
/// Changing the styling of a card to become custom/non-custom
|
||||
|
||||
Reference in New Issue
Block a user