AssistantEric/ConfigurationPages/CallTipsEricPage.py

changeset 54
89d28458ff40
parent 50
005b6127b978
child 65
71f50b4cc169
diff -r cc91f2132635 -r 89d28458ff40 AssistantEric/ConfigurationPages/CallTipsEricPage.py
--- a/AssistantEric/ConfigurationPages/CallTipsEricPage.py	Sun Feb 05 16:31:50 2012 +0100
+++ b/AssistantEric/ConfigurationPages/CallTipsEricPage.py	Sat May 19 18:32:26 2012 +0200
@@ -32,12 +32,16 @@
             self.__plugin.getPreferences("CalltipsEnabled"))
         self.ctContextCheckBox.setChecked(\
             self.__plugin.getPreferences("CallTipsContextShown"))
+        self.hierarchyCheckBox.setChecked(
+            self.__plugin.getPreferences("CallTipsFollowHierarchy"))
         
     def save(self):
         """
         Public slot to save the Eric Calltips configuration.
         """
         self.__plugin.setPreferences("CalltipsEnabled",
-            int(self.calltipsCheckBox.isChecked()))
+            self.calltipsCheckBox.isChecked())
         self.__plugin.setPreferences("CallTipsContextShown",
-            int(self.ctContextCheckBox.isChecked()))
+            self.ctContextCheckBox.isChecked())
+        self.__plugin.setPreferences("CallTipsFollowHierarchy",
+            self.hierarchyCheckBox.isChecked())

eric ide

mercurial