aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rwxr-xr-xgtk/ScintillaGTK.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index d1cce0fbd..9c9e36c1a 100755
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -3097,6 +3097,8 @@ void ScintillaGTK::SetDocPointer(Document *document) {
Editor::SetDocPointer(document);
+ ChangeScrollBars();
+
if (sciAccessible) {
// the accessible needs have the old Document, but also the new one active
sciAccessible->ChangeDocument(oldDoc, pdoc);