summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index 496b7eedbb42..b952a72f69ab 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -2446,6 +2446,11 @@ void CustomAnimationPane::onSelect()
if( maSelectionLock.isLocked() )
return;
+ // tdf#145030 if nothing is selected in the effects list, leave the selection of
+ // objects in in the slide untouched
+ if (maListSelection.empty())
+ return;
+
ScopeLockGuard aGuard( maSelectionLock );
DrawViewShell* pViewShell = dynamic_cast< DrawViewShell* >(
FrameworkHelper::Instance(mrBase)->GetViewShell(FrameworkHelper::msCenterPaneURL).get());