summaryrefslogtreecommitdiff
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
commitfc8af1e1c7d5d352c89239bc5e63288445274f62 (patch)
treecd104c4e42d0b60d4cf0998d1f7192b588422cef
parent4be38046a5c2576b5b97ac47f7c0ea17444524ea (diff)
Scroll to newly added animations in the list.
-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 cfb8463e1..f7d5b2b9f 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 ));