Skip to content
Snippets Groups Projects
Commit d2d19b5b authored by Halla Rempt's avatar Halla Rempt
Browse files

BUG:375201 Make the gray slider spinbox more precise

And actually save the gamma value correctly; unless you moved the
sliders, the value taken would be 1.0
parent d574e8ba
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,7 @@ KisPropertiesConfigurationSP KisLevelConfigWidget::configuration() const
config->setProperty("blackvalue", m_page.blackspin->value());
config->setProperty("whitevalue", m_page.whitespin->value());
config->setProperty("gammavalue", m_page.ingradient->getGamma());
config->setProperty("gammavalue", m_page.gammaspin->value());
config->setProperty("outblackvalue", m_page.outblackspin->value());
config->setProperty("outwhitevalue", m_page.outwhitespin->value());
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>259</width>
<height>332</height>
<width>263</width>
<height>344</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -158,8 +158,11 @@
<property name="buttonSymbols">
<enum>QAbstractSpinBox::PlusMinus</enum>
</property>
<property name="decimals">
<number>3</number>
</property>
<property name="minimum">
<double>0.100000000000000</double>
<double>0.001000000000000</double>
</property>
<property name="maximum">
<double>10.000000000000000</double>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment