scroll the view to make the current item shown
This commit is contained in:
parent
83c76f21a4
commit
787b0d8cdf
1 changed files with 4 additions and 1 deletions
|
@ -130,7 +130,10 @@ KWin.Switcher {
|
|||
boundsBehavior: Flickable.StopAtBounds
|
||||
Connections {
|
||||
target: tabBox
|
||||
onCurrentIndexChanged: {thumbnailListView.currentIndex = tabBox.currentIndex;}
|
||||
onCurrentIndexChanged: {
|
||||
thumbnailListView.currentIndex = tabBox.currentIndex;
|
||||
thumbnailListView.positionViewAtIndex(thumbnailListView.currentIndex, ListView.Contain);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue