diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-04-28 19:10:07 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-04-29 10:19:10 +0000 |
commit | d6ffb7405d3267f1e76aed7a5e3162b8700f6817 (patch) | |
tree | 5db90aa0ba522af745e253d3f6496fb400aeb83b | |
parent | 371f4f7171820e02ec59bf36f2758f13ef397850 (diff) |
tdf#98037 SIDEBAR: Replacing 'Speed' drop downs with comboboxes (2)
Custom Animation Dialog: Enabled dynamic update of time in ComboBox
Change-Id: I42e83486f6eea2684fb9a4f45981bd2f3d3336ab
Reviewed-on: https://gerrit.libreoffice.org/24465
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 800addeb0a60..69a7ad36bb3d 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -1841,9 +1841,9 @@ IMPL_LINK_NOARG_TYPED(CustomAnimationDurationTabPage, DurationModifiedHdl, Edit& { double duration_value = static_cast<double>(mpCBXDuration->GetValue()); if(duration_value <= 0.0) - { mpCBXDuration->SetValue(1); - } + else + mpCBXDuration->SetValue(duration_value); } } |