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 <mike.kaganski@collabora.com>
Tested-by: Jenkins
diff --git a/sd/sdi/sdraw.sdi b/sd/sdi/sdraw.sdi
index a675db0..436a89c 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 8bd95fb..b89c429 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;