mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-24 02:00:24 +07:00
removed invalid codes
This commit is contained in:
@@ -61,12 +61,13 @@ ListView {
|
|||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (checked) {
|
if (checked) {
|
||||||
isDefault = true
|
|
||||||
var needReconnected = false
|
var needReconnected = false
|
||||||
if (menuContent.currentIndex !== index) {
|
if (!isDefault) {
|
||||||
needReconnected = true
|
needReconnected = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isDefault = true
|
||||||
|
|
||||||
menuContent.currentIndex = index
|
menuContent.currentIndex = index
|
||||||
containersDropDown.menuVisible = false
|
containersDropDown.menuVisible = false
|
||||||
|
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ PageType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: updateContainersModelFilters()
|
Component.onCompleted: updateContainersModelFilters()
|
||||||
currentIndex: ContainersModel.getDefaultContainer() - 1
|
// currentIndex: ContainersModel.getDefaultContainer() - 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user