--- a/src/eric7/MicroPython/WifiDialogs/WifiApConfigDialog.py Wed Aug 02 17:22:20 2023 +0200 +++ b/src/eric7/MicroPython/WifiDialogs/WifiApConfigDialog.py Thu Aug 03 17:33:07 2023 +0200 @@ -56,6 +56,7 @@ if index == -1: index = 5 # default it to WPA/WPA2 in case of an issue self.apSecurityComboBox.setCurrentIndex(index) + self.hostnameEdit.setText(Preferences.getMicroPython("WifiApHostname")) self.__withIP = withIP @@ -130,6 +131,7 @@ Preferences.setMicroPython( "WifiApAuthMode", self.apSecurityComboBox.currentData() ) + Preferences.setMicroPython("WifiApHostname", self.hostnameEdit.text()) if self.__withIP: Preferences.setMicroPython("WifiApAddress", self.addressEdit.text()) Preferences.setMicroPython("WifiApNetmask", self.netmaskEdit.text()) @@ -162,5 +164,6 @@ self.apSsidEdit.text(), self.apPasswordEdit.text(), self.apSecurityComboBox.currentData(), + self.hostnameEdit.text(), ifconfig, )