summaryrefslogtreecommitdiff
path: root/vcl/jsdialog
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-03-05 14:42:44 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-06-22 12:22:27 +0200
commit418e6c018ab28a8695519f803ae2c1937d97ada0 (patch)
tree0900ef25a3bfcb887449742aef7e5953ada7c389 /vcl/jsdialog
parentf4837e2109ef45fd6d75cca55c2d73385729fe3f (diff)
jsdialog: send JSON on selection change
Change-Id: I34bbd037c83e319b5689d2230d629e72e110bf74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94301 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96835 Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r--vcl/jsdialog/jsdialogbuilder.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 3e9825efd7c1..88d84d56da94 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -286,6 +286,12 @@ void JSComboBox::set_entry_text(const OUString& rText)
notifyDialogState();
}
+void JSComboBox::set_active(int pos)
+{
+ SalInstanceComboBoxWithEdit::set_active(pos);
+ notifyDialogState();
+}
+
JSNotebook::JSNotebook(VclPtr<vcl::Window> aOwnedToplevel, ::TabControl* pControl,
SalInstanceBuilder* pBuilder, bool bTakeOwnership)
: JSWidget<SalInstanceNotebook, ::TabControl>(aOwnedToplevel, pControl, pBuilder,