|
|
|
@ -1263,8 +1263,10 @@ void KSelectionProxyModelPrivate::endRemoveRows(const QModelIndex &sourceParent, |
|
|
|
// If D and F are selected, the proxy contains E, F, G, H. If B is then deleted E to H will
|
|
|
|
// If D and F are selected, the proxy contains E, F, G, H. If B is then deleted E to H will
|
|
|
|
// be removed, including both first child mappings at E and G.
|
|
|
|
// be removed, including both first child mappings at E and G.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!proxyParent.isValid()) { |
|
|
|
removeFirstChildMappings(proxyStart, proxyEnd); |
|
|
|
removeFirstChildMappings(proxyStart, proxyEnd); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (proxyParent.isValid()) { |
|
|
|
if (proxyParent.isValid()) { |
|
|
|
updateInternalIndexes(proxyParent, proxyEnd + 1, -1 * (proxyEnd - proxyStart + 1)); |
|
|
|
updateInternalIndexes(proxyParent, proxyEnd + 1, -1 * (proxyEnd - proxyStart + 1)); |
|
|
|
|