--- a/AssistantEric/ConfigurationPages/AutoCompletionEricPage.py Sun Feb 05 16:31:50 2012 +0100 +++ b/AssistantEric/ConfigurationPages/AutoCompletionEricPage.py Sat May 19 18:32:26 2012 +0200 @@ -38,12 +38,15 @@ self.documentCheckBox.setChecked(acSource & AcsDocument) self.projectCheckBox.setChecked(acSource & AcsProject) + self.hierarchyCheckBox.setChecked( + self.__plugin.getPreferences("AutoCompletionFollowHierarchy")) + def save(self): """ Public slot to save the Eric Autocompletion configuration. """ self.__plugin.setPreferences("AutoCompletionEnabled", - int(self.autocompletionCheckBox.isChecked())) + self.autocompletionCheckBox.isChecked()) acSource = 0 if self.apisCheckBox.isChecked(): @@ -53,3 +56,6 @@ if self.projectCheckBox.isChecked(): acSource |= AcsProject self.__plugin.setPreferences("AutoCompletionSource", acSource) + + self.__plugin.setPreferences("AutoCompletionFollowHierarchy", + self.hierarchyCheckBox.isChecked())