[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Tue Dec 6 20:37:19 CET 2005
SVN commit 486103 by staikos:
?? a special case in view object for one of the classes that inherits -from- it?
this should fix plot saving
M +1 -1 kstviewobject.cpp
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #486102:486103
@@ -291,7 +291,7 @@
ts << indent << "<" << type() << ">" << endl;
ts << l2 << "<tag>" << QStyleSheet::escape(tagName()) << "</tag>" << endl;
for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
- if ((*i)->type() == "plot") {
+ if ((*i)->type() == "Plot") {
(*i)->saveTagOnce(ts, indent); // special case: only save tags for plots when they are children
} else {
(*i)->save(ts, indent + " "); // all other view objects are saved normally
More information about the Kst
mailing list