removed invalid codes
This commit is contained in:
parent
f81ee1b267
commit
9c0f27edb4
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue