Sorry - this mail was meant to all not specifically to Axel Spoerl.

Am 21.05.25 um 10:07 wrote Petric Frank via Interest:
Hello,

using clearSelection the current selected item will be unselected. But as stated in the doc for QAbstractItemView it will not invalidate the current index.

The only method i found so far is QAbstractItemView::reset. This also scolls the list to top.

Is there a way to reset the current index and the selection without scrolling to top ?

Is there a signal sent when i use reset ?

kind regards
   Petric
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to