summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorLuke Symes <allsymes@gmail.com>2011-06-26 21:53:46 +1200
committerRadek Doulik <rodo@novell.com>2011-06-27 10:26:35 +0200
commit4df84d6aa0ffcd09f3d320d2f27254c7666a719d (patch)
treef9e1b1d0377a822880ed20d172598e5837e24a19 /sd
parenta7ee99c8a20caefe4f1a6d641ba9c588d2115774 (diff)
Scroll to newly added animations in the list.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 5ea9672df6ab..66488fbb57fe 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -533,6 +533,7 @@ void CustomAnimationList::select( CustomAnimationEffectPtr pEffect, bool bSelect
if( pEntry->getEffect() == pEffect )
{
Select( pEntry, bSelect );
+ MakeVisible( pEntry );
break;
}
pEntry = static_cast< CustomAnimationListEntry* >(Next( pEntry ));