QAbstractItemView::setSelectionModel does not know to restore the connections created by QListWidgetPrivate::setup, so calling setSelectionModel on a QListWidget breaks the connections to QItemSelectionModel signals. Moving those connections from QListWidgetPrivate::setup to a new QListWidget::setSelectionModel override function fixes the problem. See attached modified files.
- Samuel Gaist
0Vote for this issue
1Start watching this issue
There are no open Gerrit changes
Show There is 1 closed Gerrit change
Hide There is 1 closed Gerrit change