emit data changed signal after reading from file

pull/12/head
mandlm 2018-08-11 16:53:25 +02:00
parent c8ab63723f
commit 65a3f125e0
1 changed files with 2 additions and 0 deletions

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