diff -r 3b33b7d493ff -r 6002378278c9 eric6/Preferences/ConfigurationPages/EditorGeneralPage.py --- a/eric6/Preferences/ConfigurationPages/EditorGeneralPage.py Sat Jan 23 12:10:31 2021 +0100 +++ b/eric6/Preferences/ConfigurationPages/EditorGeneralPage.py Sat Jan 23 12:52:18 2021 +0100 @@ -74,6 +74,8 @@ index = self.docstringStyleComboBox.findData( Preferences.getEditor("DocstringType")) self.docstringStyleComboBox.setCurrentIndex(index) + self.docstringCompletionCheckBox.setChecked( + Preferences.getEditor("DocstringAutoGenerate")) virtualSpaceOptions = Preferences.getEditor("VirtualSpaceOptions") self.vsSelectionCheckBox.setChecked( @@ -125,6 +127,9 @@ Preferences.setEditor( "DocstringType", self.docstringStyleComboBox.currentData()) + Preferences.setEditor( + "DocstringAutoGenerate", + self.docstringCompletionCheckBox.isChecked()) virtualSpaceOptions = QsciScintillaBase.SCVS_NONE if self.vsSelectionCheckBox.isChecked():