Changed a settings variable from int to bool.

Sun, 25 Sep 2011 17:20:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 25 Sep 2011 17:20:08 +0200
changeset 33
4d89fb0f8b0e
parent 32
68ef15fe34c3
child 34
f35565337953

Changed a settings variable from int to bool.

PluginAssistantEric.py file | annotate | diff | comparison | revisions
diff -r 68ef15fe34c3 -r 4d89fb0f8b0e PluginAssistantEric.py
--- a/PluginAssistantEric.py	Sun Sep 25 17:18:48 2011 +0200
+++ b/PluginAssistantEric.py	Sun Sep 25 17:20:08 2011 +0200
@@ -110,7 +110,7 @@
             "AutoCompletionEnabled": False,
             "AutoCompletionSource": AcsAPIs | AcsProject,
             "CalltipsEnabled": False,
-            "CallTipsContextShown": 1,
+            "CallTipsContextShown": True,
         }
         
         self.__translator = None
@@ -219,7 +219,7 @@
         @param prefClass preferences class used as the storage area
         @return the requested refactoring setting
         """
-        if key in ["AutoCompletionEnabled", "CalltipsEnabled"]:
+        if key in ["AutoCompletionEnabled", "CalltipsEnabled", "CallTipsContextShown"]:
             return Preferences.toBool(Preferences.Prefs.settings.value(
                 "AssistantEric/" + key, self.__defaults[key]))
         else:

eric ide

mercurial