mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
fixed selection of connection type on PageShare when changing protocol
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user