added selection of a default server for full access sharing
This commit is contained in:
parent
d14e8cdee4
commit
a8520e7545
1 changed files with 3 additions and 3 deletions
|
@ -90,8 +90,6 @@ PageType {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
currentIndex: 0
|
|
||||||
|
|
||||||
clickedFunction: function() {
|
clickedFunction: function() {
|
||||||
handler()
|
handler()
|
||||||
|
|
||||||
|
@ -105,7 +103,9 @@ PageType {
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
handler()
|
serverSelectorListView.currentIndex = ServersModel.isDefaultServerHasWriteAccess() ?
|
||||||
|
proxyServersModel.mapFromSource(ServersModel.defaultIndex) : 0
|
||||||
|
serverSelectorListView.triggerCurrentItem()
|
||||||
}
|
}
|
||||||
|
|
||||||
function handler() {
|
function handler() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue