aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-05-29 13:21:56 +0000
committerJohannes Schickel2006-05-29 13:21:56 +0000
commitfbc55218f117e9c1e1a474e3aea4e396e75f3902 (patch)
treea661db8dfa6dc1193898853d204e9c1f88148140 /gui/ListWidget.cpp
parentf3e74f88de34658bb2e7b6594e24fcdecd9990cf (diff)
downloadscummvm-rg350-fbc55218f117e9c1e1a474e3aea4e396e75f3902.tar.gz
scummvm-rg350-fbc55218f117e9c1e1a474e3aea4e396e75f3902.tar.bz2
scummvm-rg350-fbc55218f117e9c1e1a474e3aea4e396e75f3902.zip
- Fixes list position after screen change.
svn-id: r22736
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r--gui/ListWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index 154d7f88a7..d2bf44aa6d 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -471,6 +471,7 @@ void ListWidget::handleScreenChanged() {
_scrollBar->resize(_w - _scrollBarWidth, 0, _scrollBarWidth, _h);
scrollBarRecalc();
+ scrollToCurrent();
}
} // End of namespace GUI