[Kst] branches/work/kst/portto4/kst/src/datasources/ascii

Peter Kümmel syntheticpp at gmx.net
Sun Oct 14 12:03:43 UTC 2012


SVN commit 1320490 by kuemmel:

at least one rowIndex element is needed

 M  +2 -0      asciidatareader.cpp  


--- branches/work/kst/portto4/kst/src/datasources/ascii/asciidatareader.cpp #1320489:1320490
@@ -49,12 +49,14 @@
 void AsciiDataReader::clear()
 {
   _rowIndex.clear();
+  setRow0Begin(-1);
   _numFrames = 0;
 }
 
 //-------------------------------------------------------------------------------------------
 void AsciiDataReader::setRow0Begin(int begin)
 {
+  _rowIndex.resize(1);
   _rowIndex[0] = begin;
 }
 


More information about the Kst mailing list