src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py

branch
eric7
changeset 9982
5b91f7baffd0
parent 9653
e67609152c5e
child 9984
e99fe0e9a1e3
--- a/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Mon Apr 17 09:29:01 2023 +0200
+++ b/src/eric7/WebBrowser/SpellCheck/ManageDictionariesDialog.py	Mon Apr 17 14:25:35 2023 +0200
@@ -176,6 +176,8 @@
         self.downloadProgress.setValue(0)
 
         url = self.dictionariesUrlEdit.text()
+        if Preferences.getWebBrowser("ForceHttpDictionaryDownload"):
+            url = url.replace("https://", "http://")
 
         if self.__online:
             self.__refreshButton.setEnabled(False)
@@ -371,6 +373,8 @@
         if self.__online:
             if self.__dictionariesToDownload:
                 url = self.__dictionariesToDownload.pop(0)
+                if Preferences.getWebBrowser("ForceHttpDictionaryDownload"):
+                    url = url.replace("https://", "http://")
                 self.statusLabel.setText(url)
 
                 self.__downloadCancelled = False

eric ide

mercurial