Commit d2cc3664 authored by Karel Slaný's avatar Karel Slaný Committed by Martin Straka

Fixed error inside GovFormListModel::setEntries().

parent 912c85ea
......@@ -121,9 +121,9 @@ void GovFormListModel::appendEntry(const Gov::RequiredInput &entry)
void GovFormListModel::setEntries(const QList<Gov::RequiredInput> &entries)
{
beginInsertRows(QModelIndex(), rowCount(), rowCount());
beginResetModel();
m_requiredInputList = entries;
endInsertRows();
endResetModel();
}
void GovFormListModel::clearAll(void)
......
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