fixed insert rows count in appendClient function
This commit is contained in:
parent
c1b6149e49
commit
673b8ad5b2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue