diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-06 19:53:49 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-06 19:53:49 -0800 |
commit | 5a4d85bf7c011aeab2f61ce412fc4cb16980d62d (patch) | |
tree | e9945d44ca9551d749629778768196993e681fa1 /qt-gui.cpp | |
parent | 9511ee029403c7e49989b49889d159f45d859770 (diff) | |
download | subsurface-5a4d85bf7c011aeab2f61ce412fc4cb16980d62d.tar.gz |
Fix crash when importing CSV that requires change of separator
The dialog defaults to tab; if a file is indeed comma separated and one
switches to that, data() could be called on a higher index before the
model is re-populated.
I'm a bit surprised why index.isValid() doesn't catch this, but the manual
check appears to work.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
0 files changed, 0 insertions, 0 deletions