mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-08 06:48:09 +03:00
Refine connection behavior
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -343,12 +343,11 @@ class ConnectAction(Action):
|
||||
|
||||
APP().tray.RoutingAction.setDisabled(value)
|
||||
|
||||
if (PLATFORM == 'Windows' or PLATFORM == 'Darwin') and isAdministrator():
|
||||
if isAdministrator():
|
||||
VPNModeAction = APP().tray.SettingsAction.getVPNModeAction()
|
||||
|
||||
assert VPNModeAction is not None
|
||||
|
||||
VPNModeAction.setDisabled(value)
|
||||
if VPNModeAction is not None:
|
||||
VPNModeAction.setDisabled(value)
|
||||
|
||||
def setConnectingStatus(self, showProgressBar=True):
|
||||
if showProgressBar:
|
||||
|
||||
Reference in New Issue
Block a user