Fixed: CardViewers fighting over styles when multiple windows are open

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1184 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-31 00:07:30 +00:00
parent a2af3211a4
commit dc0fee0369
7 changed files with 11 additions and 12 deletions
+2 -1
View File
@@ -20,6 +20,8 @@ class Context;
// ----------------------------------------------------------------------------- : DataViewer
DECLARE_DYNAMIC_ARG(bool, drawing_card);
/// A viewer can generate an image of some values, usually a card.
class DataViewer : public SetView {
public:
@@ -98,7 +100,6 @@ class DataViewer : public SetView {
vector<ValueViewerP> viewers; ///< The viewers for the different values in the data
CardP card; ///< The card that is currently displayed, if any
bool drawing; ///< Are we currently drawing?
mutable StyleSheetP stylesheet; ///< Stylesheet being used
};