mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-11 16:58:11 +03:00
Fix backward compatibility in EditRouting.py
Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
@@ -1024,6 +1024,10 @@ class EditRoutingTableWidget(Translatable, SupportConnectedCallback, TableWidget
|
||||
text, hint=_(HYSTERIA_ROUTING_HINT), isBuiltin=False
|
||||
)
|
||||
|
||||
# Added for backward compatibility
|
||||
if self.RoutesList[routesIndex].get(Hysteria1.name()) is None:
|
||||
self.RoutesList[routesIndex][Hysteria1.name()] = {'acl': '', 'mmdb': ''}
|
||||
|
||||
routingDialog.ruleEdit.setText(
|
||||
self.RoutesList[routesIndex][Hysteria1.name()].get('acl', '')
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user