1
0

qml: also show proxy in networkstatusindicator and a little gimmick when a fork is detected

This commit is contained in:
Sander van Grieken
2022-07-22 13:17:05 +02:00
parent 279b5a1b48
commit 93392b8917
2 changed files with 22 additions and 3 deletions

View File

@@ -162,7 +162,7 @@ class QENetwork(QObject, QtEventListener):
@pyqtProperty('QVariantMap', notify=proxyChanged)
def proxy(self):
net_params = self.network.get_parameters()
return net_params
return net_params.proxy if net_params.proxy else {}
@proxy.setter
def proxy(self, proxy_settings):