fixed selection of connection type on PageShare when changing protocol
This commit is contained in:
parent
ddaa5b784d
commit
0060f57b63
1 changed files with 7 additions and 3 deletions
|
@ -338,14 +338,18 @@ PageType {
|
||||||
headerText: qsTr("Connection format")
|
headerText: qsTr("Connection format")
|
||||||
|
|
||||||
listView: ListViewWithRadioButtonType {
|
listView: ListViewWithRadioButtonType {
|
||||||
id: exportTypeListView
|
onCurrentIndexChanged: {
|
||||||
|
console.log(currentIndex)
|
||||||
|
exportTypeSelector.currentIndex = currentIndex
|
||||||
|
exportTypeSelector.text = selectedText
|
||||||
|
}
|
||||||
|
|
||||||
rootWidth: root.width
|
rootWidth: root.width
|
||||||
|
|
||||||
imageSource: "qrc:/images/controls/chevron-right.svg"
|
imageSource: "qrc:/images/controls/check.svg"
|
||||||
|
|
||||||
model: root.connectionTypesModel
|
model: root.connectionTypesModel
|
||||||
currentIndex: exportTypeSelector.currentIndex
|
currentIndex: 0
|
||||||
|
|
||||||
clickedFunction: function() {
|
clickedFunction: function() {
|
||||||
exportTypeSelector.text = selectedText
|
exportTypeSelector.text = selectedText
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue