Plugins/PluginVcsMercurial.py

changeset 5520
2a97a4d58bc6
parent 5488
d3729abac667
child 5554
c477ae02bf5f
--- a/Plugins/PluginVcsMercurial.py	Mon Feb 13 19:04:58 2017 +0100
+++ b/Plugins/PluginVcsMercurial.py	Mon Feb 13 19:06:24 2017 +0100
@@ -180,6 +180,10 @@
             "LogBrowserSplitterStates": [QByteArray(), QByteArray(),
                                          QByteArray()],
             # mainSplitter, detailsSplitter, diffSplitter
+            "StatusDialogGeometry": QByteArray(),
+            "StatusDialogSplitterState": QByteArray(),
+            "MqStatusDialogGeometry": QByteArray(),
+            "MqStatusDialogSplitterState": QByteArray(),
         }
         
         from VcsPlugins.vcsMercurial.ProjectHelper import HgProjectHelper
@@ -262,13 +266,17 @@
         elif key in ["Commits", "CommitAuthors"]:
             return Preferences.toList(Preferences.Prefs.settings.value(
                 "Mercurial/" + key))
-        elif key in ["LogBrowserGeometry"]:
+        elif key in ["LogBrowserGeometry", "StatusDialogGeometry",
+                     "StatusDialogSplitterState", "MqStatusDialogGeometry",
+                     "MqStatusDialogSplitterState"]:
+            # QByteArray values
             v = Preferences.Prefs.settings.value("Mercurial/" + key)
             if v is not None:
                 return v
             else:
                 return self.__mercurialDefaults[key]
         elif key in ["LogBrowserSplitterStates"]:
+            # list of QByteArray values
             states = Preferences.Prefs.settings.value("Mercurial/" + key)
             if states is not None:
                 return states

eric ide

mercurial