eric7/Preferences/ConfigurationPages/NetworkPage.py

branch
eric7
changeset 8580
e91b276e0771
parent 8366
2a9f5153c438
child 8881
54e42bc2437a
--- a/eric7/Preferences/ConfigurationPages/NetworkPage.py	Sat Sep 04 16:51:35 2021 +0200
+++ b/eric7/Preferences/ConfigurationPages/NetworkPage.py	Sat Sep 04 20:26:21 2021 +0200
@@ -69,6 +69,9 @@
             EricFtpProxyType.BLUECOAT.value)
         
         # set initial values
+        self.dynamicOnlineCheckBox.setChecked(
+            Preferences.getUI("DynamicOnlineCheck"))
+        
         self.downloadDirPicker.setText(Preferences.getUI("DownloadPath"))
         self.requestFilenameCheckBox.setChecked(
             Preferences.getUI("RequestDownloadFilename"))
@@ -150,6 +153,9 @@
         Public slot to save the Networj configuration.
         """
         Preferences.setUI(
+            "DynamicOnlineCheck",
+            self.dynamicOnlineCheckBox.isChecked())
+        Preferences.setUI(
             "DownloadPath",
             self.downloadDirPicker.text())
         Preferences.setUI(

eric ide

mercurial