diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-26 08:38:03 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-07-19 13:51:13 +0200 |
commit | 9518eaf9db7f0de14401489170fad7408cfd127b (patch) | |
tree | 61592d656298a17b65349325f941c8ee5046e460 /vcl | |
parent | 35c4cc15f1cb02b437bc9cd6dd5593aae2b86042 (diff) |
jsdialog: execute value action on spinfield
Change-Id: Iee0a5c90ebbd9ca96a60e70678f2b20c32d1bb28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116137
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119160
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/jsdialog/executor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/jsdialog/executor.cxx b/vcl/jsdialog/executor.cxx index 13cc7591d587..c979230e7f31 100644 --- a/vcl/jsdialog/executor.cxx +++ b/vcl/jsdialog/executor.cxx @@ -174,7 +174,7 @@ bool ExecuteAction(sal_uInt64 nWindowId, const OString& rWidget, StringMap& rDat auto pSpinField = dynamic_cast<weld::SpinButton*>(pWidget); if (pSpinField) { - if (sAction == "change") + if (sAction == "change" || sAction == "value") { OString sValue = OUStringToOString(rData["data"], RTL_TEXTENCODING_ASCII_US); int nValue = std::atoi(sValue.getStr()); |