fdo#74468 fix timing of slide transitions

Regression since commit 16428c9600.

Change-Id: Id274c21e08d10d2e727f3b5a3fd852cd297e4637
This commit is contained in:
David Tardon 2014-02-13 14:05:47 +01:00
parent 515b5c7688
commit 78ff9d90f2
2 changed files with 5 additions and 0 deletions

View file

@ -255,6 +255,9 @@
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
<property name="invisible_char_set">True</property>
<property name="format">sec</property>
<property name="digits">2</property>
<property name="spin_size">25</property>
</object>
<packing>
<property name="left_attach">1</property>

View file

@ -1596,6 +1596,8 @@ bool MetricField::set_property(const OString &rKey, const OString &rValue)
}
else if (rKey == "digits")
SetDecimalDigits(rValue.toInt32());
else if (rKey == "spin-size")
SetSpinSize(rValue.toInt32());
else
return SpinField::set_property(rKey, rValue);
return true;