diff --git a/client/ui/qml/Pages2/PageProtocolShadowSocksSettings.qml b/client/ui/qml/Pages2/PageProtocolShadowSocksSettings.qml index 0a6f0682..1f1de70e 100644 --- a/client/ui/qml/Pages2/PageProtocolShadowSocksSettings.qml +++ b/client/ui/qml/Pages2/PageProtocolShadowSocksSettings.qml @@ -140,8 +140,6 @@ PageType { cipherDropDown.text = cipher for (var i = 0; i < cipherListView.model.count; i++) { - const element = cipherListView.model.get(i) - if (cipherListView.model.get(i).name === cipherDropDown.text) { cipherListView.selectedIndex = i }