--- a/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py Thu Feb 23 13:31:55 2023 +0100 +++ b/src/eric7/Preferences/ConfigurationPages/MicroPythonPage.py Fri Feb 24 14:11:20 2023 +0100 @@ -142,6 +142,10 @@ if index == -1: index = 5 # default it to WPA/WPA2 in case of an issue self.apSecurityComboBox.setCurrentIndex(index) + self.apAddressEdit.setText(Preferences.getMicroPython("WifiApAddress")) + self.apNetmaskEdit.setText(Preferences.getMicroPython("WifiApNetmask")) + self.apGatewayEdit.setText(Preferences.getMicroPython("WifiApGateway")) + self.apDnsEdit.setText(Preferences.getMicroPython("WifiApDNS")) # MPY Cross Compiler self.mpyCrossPicker.setText(Preferences.getMicroPython("MpyCrossCompiler")) @@ -232,6 +236,10 @@ Preferences.setMicroPython( "WifiApAuthMode", self.apSecurityComboBox.currentData() ) + Preferences.setMicroPython("WifiApAddress", self.apAddressEdit.text()) + Preferences.setMicroPython("WifiApNetmask", self.apNetmaskEdit.text()) + Preferences.setMicroPython("WifiApGateway", self.apGatewayEdit.text()) + Preferences.setMicroPython("WifiApDNS", self.apDnsEdit.text()) # MPY Cross Compiler Preferences.setMicroPython("MpyCrossCompiler", self.mpyCrossPicker.text())