diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-06-26 11:17:29 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-06-28 09:38:48 +0200 |
commit | a08725165dfefa01dd491b3bd935d7a7d34b1877 (patch) | |
tree | fbd5f50511ff5f4fcc1a8de62ccb8ddc70e59dce /sd/source/ui/view/drviews7.cxx | |
parent | 7c8cc04bb2f31e97230469c6f52d10a81363d4b5 (diff) |
tdf#125748 Add context menu entry to execute interaction
This is a follow-up to commit 5f795576d45988d20aa9.
This reintroduces the possibility to execute an interaction in edit mode
by adding a context menu entry for it as discussed in the bug report.
Change-Id: Ibc26c227b592b888129baa2b68590178fdadee98
Reviewed-on: https://gerrit.libreoffice.org/74731
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sd/source/ui/view/drviews7.cxx')
-rw-r--r-- | sd/source/ui/view/drviews7.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews7.cxx b/sd/source/ui/view/drviews7.cxx index 21884ee6a58e..1e663a8e4b61 100644 --- a/sd/source/ui/view/drviews7.cxx +++ b/sd/source/ui/view/drviews7.cxx @@ -744,6 +744,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) rSet.ClearItem(SID_ANIMATION_OBJECTS); rSet.DisableItem(SID_ANIMATION_OBJECTS); rSet.DisableItem(SID_ANIMATION_EFFECTS); + rSet.DisableItem(SID_EXECUTE_ANIMATION_EFFECT); if (meEditMode == EditMode::MasterPage) rSet.DisableItem(SID_MODIFYPAGE); @@ -761,6 +762,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) rSet.ClearItem(SID_ANIMATION_OBJECTS); rSet.DisableItem(SID_ANIMATION_OBJECTS); rSet.DisableItem(SID_ANIMATION_EFFECTS); + rSet.DisableItem(SID_EXECUTE_ANIMATION_EFFECT); rSet.DisableItem(SID_RENAMEPAGE); rSet.DisableItem(SID_RENAMEPAGE_QUICK); rSet.DisableItem(SID_INSERTLAYER); @@ -1289,6 +1291,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) rSet.ClearItem(SID_OBJECT_ROTATE); rSet.ClearItem(SID_FM_CONFIG); rSet.ClearItem(SID_ANIMATION_EFFECTS); + rSet.ClearItem(SID_EXECUTE_ANIMATION_EFFECT); rSet.ClearItem(SID_ANIMATION_OBJECTS); rSet.ClearItem(SID_3D_WIN); @@ -1309,6 +1312,7 @@ void DrawViewShell::GetMenuState( SfxItemSet &rSet ) rSet.DisableItem(SID_POSITION); rSet.DisableItem(SID_FM_CONFIG); rSet.DisableItem(SID_ANIMATION_EFFECTS); + rSet.DisableItem(SID_EXECUTE_ANIMATION_EFFECT); rSet.DisableItem(SID_ANIMATION_OBJECTS); rSet.DisableItem(SID_3D_WIN); } |