Summary: | Can't change data file if it has columns headers | ||
---|---|---|---|
Product: | [Applications] kst | Reporter: | Eric Estievenart <eric.estievenart> |
Component: | general | Assignee: | kst |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arwalker |
Priority: | NOR | ||
Version: | 1.x | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eric Estievenart
2009-11-04 23:12:53 UTC
Of course a possible work-around is to avoid the use of column names in the files, but... I don't really like to have them named 1,2,3,... I believe it should work if you configure the ASCII datasource from Settings -> Configure Kst -> Data Sources tab -> Data source: ASCII File Reader to always accept files matching your name pattern (e.g. *.dat) and configure *.dat to have that specific format. At least it used to work with older versions, I haven't checked recently. It would seem worthwhile to at least have a Configure... button next to the selected file, so that the user can override the default configuration. The problem with guessing the file structure from the old one is that the input vectors may come from several different files, all with different configurations. SVN commit 1045437 by arwalker: BUG:213158 Allow the user to configure a datasource from within the 'Change Data File' dialog M +201 -149 changefiledialog.ui M +117 -5 kstchangefiledialog_i.cpp M +5 -7 kstchangefiledialog_i.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1045437 Whaou, you are very reactive, thanks a lot ! I'll test that as soon as I find some time to build it |