leszeklesner added a comment.
In https://phabricator.kde.org/D5490#103059, @lfurmetz wrote: > In https://phabricator.kde.org/D5490#103053, @anthonyfieroni wrote: > > > You can do this: > > > > property bool moved: false > > onMovedChanged: if (moved) { > > listView.currentIndex = index > > } > > onPositionChanged: { > > ... > > moved = true; > > } > > > > > I tried this, but onPositionChanged doesn't fire for me at all in qt 4.8.0.. Is this a bug? > > Is it possible to attach the property __moved to the parent ListView dynamically, so it can be checked by all delegates? See my updated patch. It moves the moved property to listView and works much better than the previous patch. REPOSITORY R112 Milou REVISION DETAIL https://phabricator.kde.org/D5490 To: leszeklesner, broulik Cc: lfurmetz, anthonyfieroni, davidedmundson, plasma-devel, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol