emit data changed signal after reading from file
This commit is contained in:
parent
c8ab63723f
commit
65a3f125e0
@ -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
|
||||
|
Reference in New Issue
Block a user