HgDialog: changed code to ensure, the last line is visible when the input pane is shown.

Tue, 15 Sep 2020 18:46:58 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 15 Sep 2020 18:46:58 +0200
changeset 7700
a3cf077a8db3
parent 7699
d338c533f5f0
child 7701
25f42e208e08

HgDialog: changed code to ensure, the last line is visible when the input pane is shown.

eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py file | annotate | diff | comparison | revisions
diff -r d338c533f5f0 -r a3cf077a8db3 eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py
--- a/eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py	Fri Sep 11 17:28:59 2020 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsMercurial/HgDialog.py	Tue Sep 15 18:46:58 2020 +0200
@@ -199,6 +199,8 @@
         self.inputGroup.show()
         self.input.setMaxLength(size)
         self.input.setFocus(Qt.OtherFocusReason)
+
+        self.resultbox.ensureCursorVisible()
         
         from PyQt5.QtCore import QEventLoop
         loop = QEventLoop(self)

eric ide

mercurial