diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-04-09 22:51:49 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-04-30 11:47:53 +0200 |
commit | cdf2a60de28d7f36b5404451474cadb65db40a11 (patch) | |
tree | 66c824bb4a2154d2978a273eb301f15db32d4f08 /desktop/source/lib | |
parent | 460951403745c2d08094f707e884ee99ab5b9364 (diff) |
jsdialog: used for formulabar
- do not block painting
- use welded wrappers to send JSON
- don't send tunneled dialog
Change-Id: I54c3cd02ab63bad4a50a3623a32f13b0c94a3595
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132757
Reviewed-by: Mert Tumer <mert.tumer@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133651
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'desktop/source/lib')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 462e2e5d25af..914885b30065 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4057,6 +4057,8 @@ static void lcl_sendDialogEvent(unsigned long long int nWindowId, const char* pA bFoundWeldedControl = jsdialog::ExecuteAction(std::to_string(nCurrentShellId) + "sidebar", sControlId, aMap); if (!bFoundWeldedControl) bFoundWeldedControl = jsdialog::ExecuteAction(std::to_string(nCurrentShellId) + "notebookbar", sControlId, aMap); + if (!bFoundWeldedControl) + bFoundWeldedControl = jsdialog::ExecuteAction(std::to_string(nCurrentShellId) + "formulabar", sControlId, aMap); if (!bFoundWeldedControl && !SfxViewShell::Current()) { // this is needed for dialogs shown before document is loaded: MacroWarning dialog, etc... |