[Kst] branches/work/kst/portto4/kst/src/libkst
Mike Fenton
mike at staikos.net
Fri Jun 6 20:29:27 CEST 2008
SVN commit 817714 by fenton:
Fix for updates not functioning on objects related to DataVectors.
M +3 -8 datavector.cpp
--- branches/work/kst/portto4/kst/src/libkst/datavector.cpp #817713:817714
@@ -371,13 +371,9 @@
_file->unlock();
s.writeAttribute("field", _field);
- if (/*saveAbsolutePosition*/ true) { // FIXME
- s.writeAttribute("start", QString::number(F0));
- s.writeAttribute("count", QString::number(NF));
- } else {
- s.writeAttribute("start", QString::number(ReqF0));
- s.writeAttribute("count", QString::number(ReqNF));
- }
+ s.writeAttribute("start", QString::number(ReqF0));
+ s.writeAttribute("count", QString::number(ReqNF));
+
if (doSkip()) {
s.writeAttribute("skip", QString::number(Skip));
if (doAve()) {
@@ -705,7 +701,6 @@
if (NumShifted > _size) {
NumShifted = _size;
}
-
return Vector::internalUpdate(UPDATE);
}
More information about the Kst
mailing list