Mercurial > hg > svcore
comparison data/model/ModelDataTableModel.h @ 1455:ec9e65fcf749
The use of the begin/end pairs here just seems to cause too many rows to be deleted (from the visual representation, not the underlying model). Things apparently work better if we just modify the underlying model and let the change signals percolate back up again. To that end, update the change handlers so as to cover their proper ranges with dataChanged signals.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 16:03:35 +0100 |
parents | 2f49be7d4264 |
children | c01cbe41aeb5 |
comparison
equal
deleted
inserted
replaced
1454:743c38b209d0 | 1455:ec9e65fcf749 |
---|---|
11 published by the Free Software Foundation; either version 2 of the | 11 published by the Free Software Foundation; either version 2 of the |
12 License, or (at your option) any later version. See the file | 12 License, or (at your option) any later version. See the file |
13 COPYING included with this distribution for more information. | 13 COPYING included with this distribution for more information. |
14 */ | 14 */ |
15 | 15 |
16 #ifndef _MODEL_DATA_TABLE_MODEL_H_ | 16 #ifndef SV_MODEL_DATA_TABLE_MODEL_H |
17 #define _MODEL_DATA_TABLE_MODEL_H_ | 17 #define SV_MODEL_DATA_TABLE_MODEL_H |
18 | 18 |
19 #include <QAbstractItemModel> | 19 #include <QAbstractItemModel> |
20 | 20 |
21 #include <vector> | 21 #include <vector> |
22 | 22 |