Commit 57ec628b authored by David Jarvie's avatar David Jarvie

Fix crash when adding calendar

Possible fix for bugs 361539, 361717.
parent ce23619f
......@@ -397,6 +397,7 @@ bool CollectionCheckListModel::setData(const QModelIndex& index, const QVariant&
void CollectionCheckListModel::slotRowsInserted(const QModelIndex& parent, int start, int end)
Q_EMIT layoutAboutToBeChanged();
for (int row = start; row <= end; ++row)
const QModelIndex ix = mapToSource(index(row, 0, parent));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment