WIP: Fix highlighting of selected network printer

This commit is contained in:
Lipu Fei 2019-03-13 11:03:23 +01:00
parent 60f6d881a3
commit f7f5123fea
3 changed files with 9 additions and 3 deletions

View file

@ -57,7 +57,8 @@ Item
anchors.rightMargin: 10
outputDevice: modelData.device
checked: ListView.view.currentIndex == index
checkable: false
selected: ListView.view.currentIndex == model.index
onClicked:
{
ListView.view.currentIndex = index