Browse Source

Allow 2 decimals when setting the share ratio. Closes #1303.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
b8040e4b4d
  1. 5
      src/preferences/options.ui
  2. 9
      src/updownratiodlg.ui

5
src/preferences/options.ui

@ -2273,14 +2273,11 @@ @@ -2273,14 +2273,11 @@
<property name="alignment">
<set>Qt::AlignHCenter</set>
</property>
<property name="decimals">
<number>1</number>
</property>
<property name="minimum">
<double>0.000000000000000</double>
</property>
<property name="maximum">
<double>20.000000000000000</double>
<double>9998.000000000000000</double>
</property>
<property name="singleStep">
<double>0.050000000000000</double>

9
src/updownratiodlg.ui

@ -48,11 +48,14 @@ @@ -48,11 +48,14 @@
</item>
<item>
<widget class="QDoubleSpinBox" name="ratioSpinBox">
<property name="decimals">
<number>1</number>
<property name="maximum">
<double>9998.000000000000000</double>
</property>
<property name="singleStep">
<double>0.100000000000000</double>
<double>0.050000000000000</double>
</property>
<property name="value">
<double>1.000000000000000</double>
</property>
</widget>
</item>

Loading…
Cancel
Save