From kde-commits Thu Apr 28 17:21:42 2005 From: Christoph Cullmann Date: Thu, 28 Apr 2005 17:21:42 +0000 To: kde-commits Subject: kdelibs/kate/part Message-Id: <20050428172142.C5E8D668 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=111470891901682 CVS commit by cullmann: FIX: this prevents the scrollbar from appearing on fresh created views even if not needed the removal of the show() in kateview shouldn't be a fix, but the condition for the hide was wrong M +1 -2 kateview.cpp 1.388 M +1 -1 kateviewinternal.cpp 1.349 --- kdelibs/kate/part/kateview.cpp #1.387:1.388 @@ -158,5 +158,4 @@ KateView::KateView( KateDocument *doc, Q updateConfig (); - m_viewInternal->show (); slotHlChanged(); /*test texthint --- kdelibs/kate/part/kateviewinternal.cpp #1.348:1.349 @@ -739,5 +739,5 @@ void KateViewInternal::updateView(bool c } } - else if (m_columnScroll->isVisible () && !m_suppressColumnScrollBar && (startX() == 0)) + else if (!m_suppressColumnScrollBar && (startX() == 0)) { m_columnScroll->hide();