summaryrefslogtreecommitdiff
path: root/vcl/jsdialog/executor.cxx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-03-15 18:46:17 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2023-04-05 16:02:22 +0200
commitc81306b7f5f2c12c3b4391dce4697276a0a3523b (patch)
tree228fcc0c28ac518f0dfad95a33b4baf37bfce5a1 /vcl/jsdialog/executor.cxx
parent5cc69594e4382c258f0e3e3b1ef210567fce1bd8 (diff)
jsdialog: dump menu for menubutton
Change-Id: I449ae3f8cf294e2ab81a5b47862278e325f2cb1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148937 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/+/150041 Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog/executor.cxx')
-rw-r--r--vcl/jsdialog/executor.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/jsdialog/executor.cxx b/vcl/jsdialog/executor.cxx
index 9c81aa767be5..cb8dfa4d455c 100644
--- a/vcl/jsdialog/executor.cxx
+++ b/vcl/jsdialog/executor.cxx
@@ -166,6 +166,11 @@ bool ExecuteAction(const OUString& nWindowId, const OUString& rWidget, StringMap
return true;
}
+ else if (sAction == "select")
+ {
+ LOKTrigger::trigger_selected(*pButton, rData["data"]);
+ return true;
+ }
}
}
else if (sControlType == "checkbox")