[Libreoffice-commits] core.git: sd/source

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 14 18:24:20 UTC 2019


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

New commits:
commit 2e01334881212ba9adfb99a3113adc1bae63d1d7
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Fri May 24 23:19:53 2019 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Fri Jun 14 20:23:10 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/72924
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>
    Tested-by: Jenkins

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index 64de1149578e..e7b3442b6b1d 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -1105,6 +1105,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