summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-12-15 15:59:36 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2021-01-12 15:18:09 +0100
commit46285560c0e6f856810515167c225a8d218cf0e4 (patch)
tree89cbf65748441e8303d2d4b1b65bed4843b610a6 /vcl
parent7f8262ed13cb821855115f3fa751e7dd0ef97123 (diff)
jsdialog: make Data field dialog working
Change-Id: Iae4ec2b585272fb09253b6e05ac2a59da2219fd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107777 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109098 Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/jsdialog/executor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/jsdialog/executor.cxx b/vcl/jsdialog/executor.cxx
index cfb36dd858be..da2cea423d3d 100644
--- a/vcl/jsdialog/executor.cxx
+++ b/vcl/jsdialog/executor.cxx
@@ -106,6 +106,7 @@ bool ExecuteAction(sal_uInt64 nWindowId, const OString& rWidget, StringMap& rDat
{
bool bChecked = rData["data"] == "true";
pCheckButton->set_state(bChecked ? TRISTATE_TRUE : TRISTATE_FALSE);
+ LOKTrigger::trigger_clicked(*static_cast<weld::Button*>(pCheckButton));
LOKTrigger::trigger_toggled(*static_cast<weld::ToggleButton*>(pCheckButton));
return true;
}