Added ShareType changes to the conditions to emit nExpectedBiddingsChanged.
This commit is contained in:
@ -388,7 +388,8 @@ void TableModel::execEditItemData(const int row, const QMap<int, QVariant>& chan
|
|||||||
emit dataChanged(firstIndex, lastIndex, roles.toVector());
|
emit dataChanged(firstIndex, lastIndex, roles.toVector());
|
||||||
|
|
||||||
// NEXT check which roles are changed & trigger only changed properties
|
// NEXT check which roles are changed & trigger only changed properties
|
||||||
if (roles.contains(BiddingTypeRole) || roles.contains(ShareAmountRole)) {
|
if (roles.contains(BiddingTypeRole) || roles.contains(ShareAmountRole) ||
|
||||||
|
roles.contains(ShareTypeRole)) {
|
||||||
emit nExpectedBiddingsChanged();
|
emit nExpectedBiddingsChanged();
|
||||||
}
|
}
|
||||||
if (roles.contains(ShareAmountRole) || roles.contains(ShareTypeRole)) {
|
if (roles.contains(ShareAmountRole) || roles.contains(ShareTypeRole)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user