summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/SlideTransitionPane.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-05-24 23:19:53 +0200
committerJan Holesovsky <kendy@collabora.com>2019-06-14 20:23:10 +0200
commit2e01334881212ba9adfb99a3113adc1bae63d1d7 (patch)
tree3a33ca1cb9d993e9b5ae184b1b01c9a803d79599 /sd/source/ui/animations/SlideTransitionPane.cxx
parentf8a325eff30b40fdd3f76d82d10b5eed8659afd2 (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/72924 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sd/source/ui/animations/SlideTransitionPane.cxx')
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx2
1 files changed, 2 insertions, 0 deletions
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)