diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-21 17:24:17 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-07-19 13:51:00 +0200 |
commit | 35c4cc15f1cb02b437bc9cd6dd5593aae2b86042 (patch) | |
tree | a8e63740862018edb6abacaaca31bdf0964b437f /vcl/jsdialog/jsdialogbuilder.cxx | |
parent | 6b018077789797490786f854fd725a4955715d6f (diff) |
jsdialog: send action event on show/hide
This fixes non working comboboxes in the sidebar in online.
Where we simulate picking from the list.
Change-Id: Ie78e461b2bce7fa0ccd68731e76d0c721242b98e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116097
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119155
Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog/jsdialogbuilder.cxx')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index 143815341aae..3b7f84ca6b95 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -27,8 +27,6 @@ #include <cppuhelper/supportsservice.hxx> #include <utility> -#define ACTION_TYPE "action_type" - namespace { void response_help(vcl::Window* pWindow) @@ -952,6 +950,8 @@ void JSComboBox::set_active(int pos) sendUpdate(); } +bool JSComboBox::changed_by_direct_pick() const { return true; } + JSNotebook::JSNotebook(JSDialogSender* pSender, ::TabControl* pControl, SalInstanceBuilder* pBuilder, bool bTakeOwnership) : JSWidget<SalInstanceNotebook, ::TabControl>(pSender, pControl, pBuilder, bTakeOwnership) |