sd/source/ui/animations/CustomAnimationDialog.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d6ffb7405d3267f1e76aed7a5e3162b8700f6817
Author: Akshay Deep <[email protected]>
Date:   Thu Apr 28 19:10:07 2016 +0530

    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 <[email protected]>
    Reviewed-by: Samuel Mehrbrodt <[email protected]>

diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx 
b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 800adde..69a7ad3 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);
     }
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to