[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2005-04-28 17:21:42
Message-ID: 20050428172142.C5E8D668 () office ! kde ! org
[Download RAW message or body]

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();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic