[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sd/source

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Fri May 24 21:34:30 UTC 2019


 sd/source/ui/animations/SlideTransitionPane.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5eea8c955b7632414c1d6c3ec0cbcf86c558efc6
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Fri May 24 23:19:53 2019 +0200
Commit:     Michael Meeks <michael.meeks at collabora.com>
CommitDate: Fri May 24 23:33:09 2019 +0200

    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 at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

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)


More information about the Libreoffice-commits mailing list