eric7/Preferences/__init__.py

branch
eric7
changeset 8624
5192a2592324
parent 8593
1d66b6af60ed
child 8637
394377638256
--- a/eric7/Preferences/__init__.py	Wed Sep 22 19:52:28 2021 +0200
+++ b/eric7/Preferences/__init__.py	Thu Sep 23 18:20:31 2021 +0200
@@ -1248,6 +1248,8 @@
         "StatusMonitorInterval": 30,
         "MonitorLocalStatus": False,
         "ShowVcsToolbar": True,
+        "PerProjectCommitHistory": True,
+        "CommitMessages": 20,
     }
     
     # defaults for tasks related stuff
@@ -3053,7 +3055,7 @@
     @param key the key of the value to get
     @return the requested user setting
     """
-    if key in ["StatusMonitorInterval"]:
+    if key in ["StatusMonitorInterval", "CommitMessages"]:
         return int(Prefs.settings.value(
             "VCS/" + key, Prefs.vcsDefaults[key]))
     else:

eric ide

mercurial