Hi there,

This is a one-line patch to impress to make the animation list scroll down
to show a newly added animation. Previously we didn't scroll the list at
all.

Kind Regards,

Luke.
From 011c3c21a7a8a250261cead697a4cf5d005a02dd Mon Sep 17 00:00:00 2001
From: Luke Symes <allsy...@gmail.com>
Date: Fri, 24 Jun 2011 17:34:36 +1200
Subject: [PATCH] After adding a new animation, scroll down to it in the list.

---
 sd/source/ui/animations/CustomAnimationList.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 196fc53..b1eb7ca 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -542,6 +542,7 @@ void CustomAnimationList::select( CustomAnimationEffectPtr pEffect, bool bSelect
     {
         append( pEffect );
         select( pEffect );
+        MakeVisible( Last() );
     }
 }
 
-- 
1.7.5.4

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to