diff -r fbdf76af88ed -r 89f11ae6bec3 eric6/Preferences/ConfigurationPages/MicroPythonPage.py --- a/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Tue Jul 30 19:25:23 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/MicroPythonPage.py Tue Jul 30 19:26:56 2019 +0200 @@ -35,22 +35,26 @@ self.colorSchemeComboBox.addItems(sorted(AnsiColorSchemes.keys())) # set initial values + self.timeoutSpinBox.setValue( + Preferences.getMicroPython("SerialTimeout") / 1000) + # converted to seconds self.colorSchemeComboBox.setCurrentIndex( self.colorSchemeComboBox.findText( Preferences.getMicroPython("ColorScheme"))) - self.timeoutSpinBox.setValue( - Preferences.getMicroPython("SerialTimeout") / 1000) - # converted to seconds + self.replWrapCheckBox.setChecked( + Preferences.getMicroPython("ReplLineWrap")) def save(self): """ Public slot to save the MicroPython configuration. """ Preferences.setMicroPython( + "SerialTimeout", self.timeoutSpinBox.value() * 1000) + # converted to milliseconds + Preferences.setMicroPython( "ColorScheme", self.colorSchemeComboBox.currentText()) Preferences.setMicroPython( - "SerialTimeout", self.timeoutSpinBox.value() * 1000) - # converted to milliseconds + "ReplLineWrap", self.replWrapCheckBox.isChecked()) def create(dlg):