mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Update property when needed.
svn path=/trunk/KDE/kdebase/apps/; revision=687397
This commit is contained in:
parent
f93cc2499d
commit
aa69bcdc64
1 changed files with 3 additions and 0 deletions
|
@ -542,6 +542,7 @@ void KCategorizedView::reset()
|
|||
d->intersectedIndexes.clear();
|
||||
d->sourceModelIndexList.clear();
|
||||
d->hovered = QModelIndex();
|
||||
d->biggestItemSize = QSize(0, 0);
|
||||
d->mouseButtonPressed = false;
|
||||
}
|
||||
|
||||
|
@ -1067,6 +1068,7 @@ void KCategorizedView::rowsInserted(const QModelIndex &parent,
|
|||
d->intersectedIndexes.clear();
|
||||
d->sourceModelIndexList.clear();
|
||||
d->hovered = QModelIndex();
|
||||
d->biggestItemSize = QSize(0, 0);
|
||||
d->mouseButtonPressed = false;
|
||||
|
||||
return;
|
||||
|
@ -1094,6 +1096,7 @@ void KCategorizedView::rowsInsertedArtifficial(const QModelIndex &parent,
|
|||
d->intersectedIndexes.clear();
|
||||
d->sourceModelIndexList.clear();
|
||||
d->hovered = QModelIndex();
|
||||
d->biggestItemSize = QSize(0, 0);
|
||||
d->mouseButtonPressed = false;
|
||||
|
||||
if (start > end || end < 0 || start < 0 || !d->proxyModel->rowCount())
|
||||
|
|
Loading…
Reference in a new issue