From e46631a949962fbd1f6d3b102dee492cd58747c2 Mon Sep 17 00:00:00 2001 From: Ines Sorrentino <43743081+isorrentino@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:30:33 +0100 Subject: [PATCH] Update sliderWithTarget.h updating number of decimals to 2 --- src/yarpmotorgui/sliderWithTarget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yarpmotorgui/sliderWithTarget.h b/src/yarpmotorgui/sliderWithTarget.h index 8da96835b3..bd560f394c 100644 --- a/src/yarpmotorgui/sliderWithTarget.h +++ b/src/yarpmotorgui/sliderWithTarget.h @@ -20,7 +20,7 @@ class SliderWithTarget : public QSlider bool enableViewLabel = true; bool enableViewTargetBox = true; bool enableViewTargetValue = false; - int number_of_decimals = 0; + int number_of_decimals = 2; bool disableClickOutOfHandle; SliderWithTarget(QWidget * parent = 0); ~SliderWithTarget();