[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Tue Dec 6 20:44:32 CET 2005
SVN commit 486106 by staikos:
two more cases
M +2 -1 ksttoplevelview.cpp
M +2 -1 kstviewobject.cpp
--- trunk/extragear/graphics/kst/kst/ksttoplevelview.cpp #486105:486106
@@ -93,7 +93,8 @@
ts << indent << "<columns>" << _columns << "</columns>" << endl;
}
for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
- if ((*i)->type() == "plot") {
+ // FIXME: SO BROKEN!!! Get rid of this!
+ 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
--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #486105:486106
@@ -266,7 +266,8 @@
}
for (KstViewObjectList::Iterator i = _children.begin(); i != _children.end(); ++i) {
- if ((*i)->type() == "plot") {
+ // FIXME: SO BROKEN!!! Get rid of this!
+ 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