Kaydet (Commit) 5eea8c95 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Michael Meeks

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/72923Reviewed-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@collabora.com>
üst 34807c65
...@@ -1125,6 +1125,8 @@ IMPL_LINK_NOARG(SlideTransitionPane, DurationModifiedHdl, Edit&, void) ...@@ -1125,6 +1125,8 @@ IMPL_LINK_NOARG(SlideTransitionPane, DurationModifiedHdl, Edit&, void)
mpCBX_duration->SetValue(0); mpCBX_duration->SetValue(0);
else else
mpCBX_duration->SetValue(duration_value); mpCBX_duration->SetValue(duration_value);
applyToSelectedPages();
} }
IMPL_LINK_NOARG(SlideTransitionPane, DurationLoseFocusHdl, Control&, void) IMPL_LINK_NOARG(SlideTransitionPane, DurationLoseFocusHdl, Control&, void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment