From 4bfff26b519e4890de1cf4750f9a5ad75c3bc992 Mon Sep 17 00:00:00 2001 From: Pierre MARTY Date: Wed, 20 May 2020 15:03:13 +0200 Subject: tdf#132816: update slide "master" option buttons in tabbed ui Make AutoUpdate: - SfxBoolItem DisplayMasterBackground - SfxBoolItem DisplayMasterObjects Change-Id: I5f6bbe6cc630d74c5713ae2c0d622a74f22606b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94574 Reviewed-by: Mike Kaganski Tested-by: Jenkins --- sd/sdi/sdraw.sdi | 4 ++-- sd/source/ui/view/drviews2.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi index a675db0efb5e..436a89cc30b4 100644 --- a/sd/sdi/sdraw.sdi +++ b/sd/sdi/sdraw.sdi @@ -4129,7 +4129,7 @@ SfxVoidItem SaveBackground SID_SAVE_BACKGROUND SfxBoolItem DisplayMasterBackground SID_DISPLAY_MASTER_BACKGROUND [ - AutoUpdate = FALSE, + AutoUpdate = TRUE, FastCall = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, @@ -4145,7 +4145,7 @@ SfxBoolItem DisplayMasterBackground SID_DISPLAY_MASTER_BACKGROUND ] SfxBoolItem DisplayMasterObjects SID_DISPLAY_MASTER_OBJECTS [ - AutoUpdate = FALSE, + AutoUpdate = TRUE, FastCall = FALSE, ReadOnlyDoc = FALSE, Toggle = FALSE, diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 8bd95fb43ce8..b89c429452ee 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -3459,7 +3459,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) pPage->TRG_SetMasterPageVisibleLayers(aVisibleLayers); } Cancel(); - rReq.Ignore (); + rReq.Done(); // Mark task as done to auto-update the state of each buttons tdf#132816 } break; -- cgit