summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-11-20 09:44:25 +0530
committerAndras Timar <andras.timar@collabora.com>2020-12-09 18:14:43 +0100
commit962bd10e456d95c7579ffb380b3e69f67cf5ea11 (patch)
treeef2ec0868cc978c9eb19920d334734cde40e17f3
parent91a39edbbd353326bd2cd37ea93be9f27d533ea5 (diff)
hide background options in master slide view in sidebar
Change-Id: Idecf4c849f9f5ac338ea24ca04cbbf9afe5cad5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106213 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--sd/source/ui/sidebar/SlideBackground.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx
index 9182f6984056..bf1914465bac 100644
--- a/sd/source/ui/sidebar/SlideBackground.cxx
+++ b/sd/source/ui/sidebar/SlideBackground.cxx
@@ -288,6 +288,11 @@ void SlideBackground::HandleContextChange(
mpFillStyle->Hide();
mpBackgroundLabel->Hide();
mpInsertImage->Show();
+
+ mpFillLB->Hide();
+ mpFillAttr->Hide();
+ mpFillGrad1->Hide();
+ mpFillGrad2->Hide();
}
else if ( maContext == maImpressHandoutContext || maContext == maImpressNotesContext )
{