diff options
author | Luke Symes <allsymes@gmail.com> | 2011-06-22 19:13:11 +1200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-22 13:59:51 +0300 |
commit | 74b31b915587395e35fd72273b80079fc909667f (patch) | |
tree | a1c1a939d79cd05c109427936a8120cf2f5e86e9 /sd | |
parent | e6b064a296e5774f124226575ac3aebb68e31133 (diff) |
Don't update CustomAnimationList when we are already updating it.
When we update the CustomAnimationList, we restore the selection state,
and we don't want this to cause more updates (since that makes the
scrollbar flash annoyingly).
Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 99b68d6711d9..f6373971bcd2 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -865,6 +865,8 @@ void CustomAnimationList::onSelectionChanged( Any aSelection ) void CustomAnimationList::SelectHdl() { + if( mbIgnorePaint ) + return; SvTreeListBox::SelectHdl(); mpController->onSelect(); } |