--- a/AssistantEric/ConfigurationPages/CallTipsEricPage.py Sun Oct 13 18:32:15 2013 +0200 +++ b/AssistantEric/ConfigurationPages/CallTipsEricPage.py Thu Oct 24 19:04:41 2013 +0200 @@ -9,7 +9,8 @@ from __future__ import unicode_literals # __IGNORE_WARNING__ -from Preferences.ConfigurationPages.ConfigurationPageBase import ConfigurationPageBase +from Preferences.ConfigurationPages.ConfigurationPageBase import \ + ConfigurationPageBase from .Ui_CallTipsEricPage import Ui_CallTipsEricPage @@ -30,9 +31,9 @@ self.__plugin = plugin # set initial values - self.calltipsCheckBox.setChecked(\ + self.calltipsCheckBox.setChecked( self.__plugin.getPreferences("CalltipsEnabled")) - self.ctContextCheckBox.setChecked(\ + self.ctContextCheckBox.setChecked( self.__plugin.getPreferences("CallTipsContextShown")) self.hierarchyCheckBox.setChecked( self.__plugin.getPreferences("CallTipsFollowHierarchy")) @@ -41,9 +42,12 @@ """ Public slot to save the Eric Calltips configuration. """ - self.__plugin.setPreferences("CalltipsEnabled", + self.__plugin.setPreferences( + "CalltipsEnabled", self.calltipsCheckBox.isChecked()) - self.__plugin.setPreferences("CallTipsContextShown", + self.__plugin.setPreferences( + "CallTipsContextShown", self.ctContextCheckBox.isChecked()) - self.__plugin.setPreferences("CallTipsFollowHierarchy", + self.__plugin.setPreferences( + "CallTipsFollowHierarchy", self.hierarchyCheckBox.isChecked())