1
0

qml: ask user whether to configure Tor or other proxy before presenting proxy detail config screen

This commit is contained in:
Sander van Grieken
2023-03-16 15:42:24 +01:00
parent 39eaf9d871
commit 7a86d8dc9e
4 changed files with 50 additions and 2 deletions

View File

@@ -435,9 +435,12 @@ class ServerConnectWizard(AbstractWizard):
def __init__(self, daemon):
self.navmap = {
'autoconnect': {
'next': 'proxy_config',
'next': 'proxy_ask',
'last': lambda v,d: d['autoconnect']
},
'proxy_ask': {
'next': lambda d: 'proxy_config' if d['want_proxy'] else 'server_config'
},
'proxy_config': {
'next': 'server_config'
},