added busy indicator when saving a list of clients, on the client info panel
This commit is contained in:
parent
24ea686e4d
commit
ce2a122d51
6 changed files with 42 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue