diff options
author | Jan Holesovsky <kendy@collabora.com> | 2019-05-24 23:19:53 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-05-24 23:33:09 +0200 |
commit | 5eea8c955b7632414c1d6c3ec0cbcf86c558efc6 (patch) | |
tree | 7ec11b847262da8f0646956feebfe7c24f07192d /sd | |
parent | 34807c652e9367fda26b8f66207ef448e024ca69 (diff) |
Transition sidebar: Apply the transition duration right away.
In the desktop version, the value that is entered there always ends up
applied. In the Online, there was a scenario when it did not: enter a
value and switch slide by clicking the slide sorter.
There is no harm to apply the value right away when the user edits,
because in the desktop version, there was no way to avoid applying the
value anyway.
Change-Id: I519423d60f682735aeb1d471b3397ff9671c15fd
Reviewed-on: https://gerrit.libreoffice.org/72923
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/SlideTransitionPane.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index f08c171a3ae5..cc7fdec56e63 100644 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -1125,6 +1125,8 @@ IMPL_LINK_NOARG(SlideTransitionPane, DurationModifiedHdl, Edit&, void) mpCBX_duration->SetValue(0); else mpCBX_duration->SetValue(duration_value); + + applyToSelectedPages(); } IMPL_LINK_NOARG(SlideTransitionPane, DurationLoseFocusHdl, Control&, void) |