From 227385917246e410723a9f68c5960053a932982f Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 9 Aug 2013 12:51:42 +1000 Subject: Move wrapping, edge and visual adjustments from Editor to ViewStyle. Move printing parameters into a separate struct. --- qt/ScintillaEditBase/ScintillaQt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt/ScintillaEditBase/ScintillaQt.cpp') diff --git a/qt/ScintillaEditBase/ScintillaQt.cpp b/qt/ScintillaEditBase/ScintillaQt.cpp index a956ff714..66beaed92 100644 --- a/qt/ScintillaEditBase/ScintillaQt.cpp +++ b/qt/ScintillaEditBase/ScintillaQt.cpp @@ -293,7 +293,7 @@ void ScintillaQt::ReconfigureScrollBars() scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); } - if (horizontalScrollBarVisible && (wrapState == eWrapNone)) { + if (horizontalScrollBarVisible && !Wrapping()) { scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded); } else { scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); -- cgit v1.2.3