[Kst] kdeextragear-2/kst/kst/datasources/ascii

George Staikos staikos at kde.org
Tue Apr 5 05:12:34 CEST 2005


CVS commit by staikos: 

fix a bug where fields that are invalid are identified as valid


  M +1 -1      ascii.cpp   1.38


--- kdeextragear-2/kst/kst/datasources/ascii/ascii.cpp  #1.37:1.38
@@ -261,5 +261,5 @@ bool AsciiSource::isValidField(const QSt
   field.toUInt(&ok);
 
-  return ok;
+  return ok && fieldList().contains(field);
 }
 




More information about the Kst mailing list