emit data changed signal after reading from file

This commit is contained in:
Michael Mandl 2018-08-11 16:53:25 +02:00
parent c8ab63723f
commit 65a3f125e0

View file

@ -124,6 +124,8 @@ void CheckableTestModel::read(const QJsonObject &json)
test.items().read(testData.toArray());
}
}
emit dataChanged(index(0, 0), index(rowCount() - 1, columnCount() - 1));
}
bool CheckableTestModel::isValidIndex(const QModelIndex &index) const