aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index fbb0b694c..59bc76e9d 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3164,6 +3164,9 @@ void Editor::SetScrollBars() {
int nMax = MaxScrollPos();
int nPage = LinesOnScreen();
bool modified = ModifyScrollBars(nMax + nPage - 1, nPage);
+ if (modified) {
+ DwellEnd(true);
+ }
// TODO: ensure always showing as many lines as possible
// May not be, if, for example, window made larger