diff options
author | David Tardon <dtardon@redhat.com> | 2014-02-13 14:07:09 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-02-13 14:19:47 +0100 |
commit | 1b2da3df5449f5bc517418cc632157780984e275 (patch) | |
tree | a5e80055e422917f27fdfbd19fea53e3fead557a /vcl | |
parent | 78ff9d90f2a74792c437087ede11559c111c5c98 (diff) |
enable spin-size for NumericField too
Change-Id: I77660572947f7a863982be7742cbcb1c784379ed
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/field.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index e71820220872..14998502be17 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -748,6 +748,8 @@ bool NumericField::set_property(const OString &rKey, const OString &rValue) { if (rKey == "digits") SetDecimalDigits(rValue.toInt32()); + else if (rKey == "spin-size") + SetSpinSize(rValue.toInt32()); else return SpinField::set_property(rKey, rValue); return true; |