fixed insert rows count in appendClient function

This commit is contained in:
vladimir.kuznetsov 2024-01-10 11:55:32 +07:00
parent c1b6149e49
commit 673b8ad5b2

View file

@ -231,7 +231,7 @@ ErrorCode ClientManagementModel::appendClient(const QString &clientId, const QSt
}
}
beginInsertRows(QModelIndex(), rowCount(), 1);
beginInsertRows(QModelIndex(), rowCount(), rowCount() + 1);
QJsonObject client;
client[configKey::clientId] = clientId;