desktop: remove selectionChangeDone() from DiveListView::selectDive()

This was erroneous, as it should only be called at the end of
a selection change, not after every single dive. It made selection
of multiple dives extremely slow.

Reported-by: Jan Mulder <jlmulder@xs4all.nl>
Debugged-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-25 15:28:11 +02:00 committed by Dirk Hohndel
parent 9fae262188
commit 702d8c754d

View file

@ -322,7 +322,6 @@ void DiveListView::selectDive(int i)
expand(idx.parent());
setAnimated(true);
}
selectionChangeDone();
}
void DiveListView::selectDives(const QList<int> &newDiveSelection)