diff options
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 17ed3f4b0b36..8ebd2f1ee3e6 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -525,7 +525,7 @@ void CustomAnimationPane::updateControls() const int nSelectionCount = maListSelection.size(); mpPBAddEffect->Enable( maViewSelection.hasValue() ); - mpPBRemoveEffect->Enable(nSelectionCount); + mpPBRemoveEffect->Enable(nSelectionCount != 0); bool bIsSelected = (nSelectionCount == 1); if(bIsSelected) |