From eeb740322aac5061372dcb8f1f4f0684d6ecfd41 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de>
Date: Tue, 10 Oct 2023 10:22:44 +0200
Subject: [PATCH] rm indirection

---
 GUI/Model/Descriptor/DoubleProperty.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GUI/Model/Descriptor/DoubleProperty.cpp b/GUI/Model/Descriptor/DoubleProperty.cpp
index 0e114874bcf..c19a0e9462c 100644
--- a/GUI/Model/Descriptor/DoubleProperty.cpp
+++ b/GUI/Model/Descriptor/DoubleProperty.cpp
@@ -21,7 +21,7 @@ using std::variant;
 void DoubleProperty::init(const QString& label, const QString& tooltip, double value,
                           const QString& uidPrefix)
 {
-    init(label, tooltip, value, Unit::unitless, uidPrefix);
+    init(label, tooltip, value, Unit::unitless, 3, 0.01, RealLimits::nonnegative(), uidPrefix);
 }
 
 void DoubleProperty::init(const QString& label, const QString& tooltip, double value, uint decimals,
-- 
GitLab