fix PageSetupWizardApiServicesList
This commit is contained in:
parent
8767f487b8
commit
13e680f6e1
1 changed files with 6 additions and 4 deletions
|
|
@ -51,16 +51,20 @@ PageType {
|
|||
spacing: 0
|
||||
|
||||
property bool isFocusable: true
|
||||
selectedIndex: 1
|
||||
|
||||
clip: true
|
||||
reuseItems: true
|
||||
|
||||
model: ApiServicesModel
|
||||
|
||||
ScrollBar.vertical: ScrollBar {}
|
||||
ScrollBar.vertical: ScrollBarType {}
|
||||
|
||||
delegate: Item {
|
||||
implicitWidth: servicesListView.width
|
||||
implicitHeight: delegateContent.implicitHeight
|
||||
|
||||
enabled: isServiceAvailable
|
||||
|
||||
ColumnLayout {
|
||||
id: delegateContent
|
||||
|
||||
|
|
@ -80,8 +84,6 @@ PageType {
|
|||
|
||||
rightImageSource: "qrc:/images/controls/chevron-right.svg"
|
||||
|
||||
enabled: isServiceAvailable
|
||||
|
||||
onClicked: {
|
||||
if (isServiceAvailable) {
|
||||
ApiServicesModel.setServiceIndex(index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue