diff options
author | Arno <arno@disconnect.de> | 2016-03-30 07:00:07 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-03-30 07:00:07 +0200 |
commit | c390757f2068f188dc76e6dfc736f4afae6eefd7 (patch) | |
tree | b73157082d59a30e677f0086fd2207162eb7795e /mappingtreemodel.cpp | |
parent | 2e4e94a52824d2f85af739644461fdc184aed93d (diff) | |
download | SheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.tar.gz SheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.tar.bz2 SheMov-c390757f2068f188dc76e6dfc736f4afae6eefd7.zip |
Remove presets from NewPicsDialog
and replace them with write/readSettings. It was a useless feature
anyway, don't even remember what it was good for.
Also fix another bug in MappingTreeResultModel: Clear mCurrentData too,
when clearData is called.
Diffstat (limited to 'mappingtreemodel.cpp')
-rw-r--r-- | mappingtreemodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mappingtreemodel.cpp b/mappingtreemodel.cpp index 2cf4445..25d7921 100644 --- a/mappingtreemodel.cpp +++ b/mappingtreemodel.cpp @@ -520,6 +520,7 @@ QList<QVariant> MappingTreeResultModel::columnValues(int column) const { void MappingTreeResultModel::clearData(){ setRoot(new SmTreeItem(NumFields)); + mCurrentData.clear(); } int MappingTreeResultModel::hasChild(SmTreeItem *item, const QVariant &name, int column) const{ |