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