[Kst] branches/kst/1.2/kst/kst
George Staikos
staikos at kde.org
Sat Apr 8 06:04:23 CEST 2006
SVN commit 527405 by staikos:
backport check range properly
M +2 -2 datawizard.ui.h
--- branches/kst/1.2/kst/kst/datawizard.ui.h #527404:527405
@@ -523,7 +523,7 @@
// only add to memory requirement if xVector is to be created
if (_xAxisCreateFromField->isChecked()) {
- if (_kstDataRange->ReadToEnd->isChecked()) {
+ if (_kstDataRange->ReadToEnd->isChecked() || nValue < 0) {
frames = ds->frameCount(_xVector->currentText()) - f0Value;
} else {
frames = kMin(nValue, ds->frameCount(_xVector->currentText()));
@@ -546,7 +546,7 @@
if (i->isOn()) {
QString field = it.current()->text(0);
- if (_kstDataRange->ReadToEnd->isChecked()) {
+ if (_kstDataRange->ReadToEnd->isChecked() || nValue < 0) {
frames = ds->frameCount(field) - f0Value;
} else {
frames = nValue;
More information about the Kst
mailing list