Bugfix to restore cursor position on startup of eric. eric7

Mon, 27 Mar 2023 22:05:05 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Mon, 27 Mar 2023 22:05:05 +0200
branch
eric7
changeset 9937
a56c297bfd61
parent 9936
2bc607eea0b9
child 9938
b8005dd4fc9b

Bugfix to restore cursor position on startup of eric.

src/eric7/Sessions/SessionFile.py file | annotate | diff | comparison | revisions
--- a/src/eric7/Sessions/SessionFile.py	Sun Mar 26 14:25:08 2023 +0200
+++ b/src/eric7/Sessions/SessionFile.py	Mon Mar 27 22:05:05 2023 +0200
@@ -307,7 +307,7 @@
                 if editorDict["Folds"]:
                     ed.recolor()
                     ed.setContractedFolds(editorDict["Folds"])
-                    ed.setCursorPosition(*editorDict["Cursor"])
+                ed.setCursorPosition(*editorDict["Cursor"])
 
         # step 3: breakpoints
         # ===================

eric ide

mercurial