summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/jsdialog/executor.cxx2
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());