Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix decimals in hdr metadata ui.

Wolthera van Hövell tot Westerflierf8b11ee7f754
diff --git a/libs/ui/forms/wdgimageproperties.ui b/libs/ui/forms/wdgimageproperties.ui
index 52c1fcbacb..45315af2fb 100644
--- a/libs/ui/forms/wdgimageproperties.ui
+++ b/libs/ui/forms/wdgimageproperties.ui
@@ -375,9 +375,15 @@
<property name="suffix">
<string>cd/m²</string>
</property>
+ <property name="decimals">
+ <number>4</number>
+ </property>
<property name="maximum">
<double>10000.000000000000000</double>
</property>
+ <property name="singleStep">
+ <double>0.001000000000000</double>
+ </property>
</widget>
</item>
<item row="1" column="1">
@@ -385,9 +391,15 @@
<property name="suffix">
<string>cd/m²</string>
</property>
+ <property name="decimals">
+ <number>4</number>
+ </property>
<property name="maximum">
<double>10000.000000000000000</double>
</property>
+ <property name="singleStep">
+ <double>0.001000000000000</double>
+ </property>
</widget>
</item>
</layout>
@@ -420,9 +432,15 @@
<property name="suffix">
<string>cd/m²</string>
</property>
+ <property name="decimals">
+ <number>4</number>
+ </property>
<property name="maximum">
<double>10000.000000000000000</double>
</property>
+ <property name="singleStep">
+ <double>0.001000000000000</double>
+ </property>
</widget>
</item>
<item row="3" column="1">
@@ -430,6 +448,12 @@
<property name="suffix">
<string>cd/m²</string>
</property>
+ <property name="decimals">
+ <number>4</number>
+ </property>
+ <property name="singleStep">
+ <double>0.001000000000000</double>
+ </property>
</widget>
</item>
<item row="1" column="0" colspan="2">