[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdevelop/parts/filelist
From: Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date: 2008-04-03 22:01:53
Message-ID: 1207260113.307457.5973.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 793405 by dagerbo:
Attempt to maintain FileList scroll position when files are opened or closed.
BUG: 160341
M +3 -0 filelist_widget.cpp
--- branches/KDE/3.5/kdevelop/parts/filelist/filelist_widget.cpp #793404:793405
@@ -130,6 +130,7 @@
void FileListWidget::refreshFileList( )
{
QStringList selections = storeSelections();
+ int scrollbarPos = verticalScrollBar()->value();
KListView::clear();
@@ -149,6 +150,8 @@
firstChild()->setSelected( true );
}
+ verticalScrollBar()->setValue( scrollbarPos );
+
activePartChanged( _part->partController()->activePart() );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic