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: {
|
||||
if (checked) {
|
||||
isDefault = true
|
||||
var needReconnected = false
|
||||
if (menuContent.currentIndex !== index) {
|
||||
if (!isDefault) {
|
||||
needReconnected = true
|
||||
}
|
||||
|
||||
isDefault = true
|
||||
|
||||
menuContent.currentIndex = index
|
||||
containersDropDown.menuVisible = false
|
||||
|
||||
|
||||
@@ -210,7 +210,7 @@ PageType {
|
||||
}
|
||||
|
||||
Component.onCompleted: updateContainersModelFilters()
|
||||
currentIndex: ContainersModel.getDefaultContainer() - 1
|
||||
// currentIndex: ContainersModel.getDefaultContainer() - 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user