for servers received via api, ignore the split tunneling settings
This commit is contained in:
parent
da5ad0a845
commit
fac57ac89a
7 changed files with 55 additions and 37 deletions
|
@ -21,7 +21,13 @@ PageType {
|
|||
id: root
|
||||
|
||||
property bool pageEnabled: {
|
||||
return !ConnectionController.isConnected
|
||||
return !ConnectionController.isConnected && !ServersModel.isDefaultServerFromApi()
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
if (ServersModel.isDefaultServerFromApi()) {
|
||||
PageController.showNotificationMessage(qsTr("This server does not support split tunneling function"))
|
||||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue