src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py

branch
eric7
changeset 11240
c48c615c04a3
parent 11090
f5f5f5803935
diff -r dff8babf4707 -r c48c615c04a3 src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py
--- a/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py	Sat Apr 26 12:00:21 2025 +0200
+++ b/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py	Sat Apr 26 12:34:32 2025 +0200
@@ -155,6 +155,9 @@
         self.apNetmaskEdit.setText(Preferences.getMicroPython("WifiApNetmask"))
         self.apGatewayEdit.setText(Preferences.getMicroPython("WifiApGateway"))
         self.apDnsEdit.setText(Preferences.getMicroPython("WifiApDNS"))
+        self.picowirelessCheckBox.setChecked(
+            Preferences.getMicroPython("DisablePicowireless")
+        )
 
         # NTP
         self.ntpServerEdit.setText(Preferences.getMicroPython("NtpServer"))
@@ -265,6 +268,9 @@
         Preferences.setMicroPython("WifiApNetmask", self.apNetmaskEdit.text())
         Preferences.setMicroPython("WifiApGateway", self.apGatewayEdit.text())
         Preferences.setMicroPython("WifiApDNS", self.apDnsEdit.text())
+        Preferences.setMicroPython(
+            "DisablePicowireless", self.picowirelessCheckBox.isChecked()
+        )
 
         # NTP
         Preferences.setMicroPython("NtpServer", self.ntpServerEdit.text())

eric ide

mercurial