added busy indicator when saving a list of clients, on the client info panel

This commit is contained in:
vladimir.kuznetsov 2023-01-12 20:20:24 +03:00
parent 24ea686e4d
commit ce2a122d51
6 changed files with 42 additions and 11 deletions

View file

@ -79,8 +79,10 @@ void ClientManagementModel::setData(const QModelIndex &index, QVariant data, int
} else {
return;
}
m_content[index.row()] = client;
emit dataChanged(index, index);
if (m_content[index.row()] != client) {
m_content[index.row()] = client;
emit dataChanged(index, index);
}
}
QHash<int, QByteArray> ClientManagementModel::roleNames() const