diff 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
line wrap: on
line diff
--- a/data/model/ModelDataTableModel.h	Tue Apr 17 10:54:48 2018 +0100
+++ b/data/model/ModelDataTableModel.h	Mon Apr 23 16:03:35 2018 +0100
@@ -13,8 +13,8 @@
     COPYING included with this distribution for more information.
 */
 
-#ifndef _MODEL_DATA_TABLE_MODEL_H_
-#define _MODEL_DATA_TABLE_MODEL_H_
+#ifndef SV_MODEL_DATA_TABLE_MODEL_H
+#define SV_MODEL_DATA_TABLE_MODEL_H
 
 #include <QAbstractItemModel>