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-23 08:30:48 +0200 |
commit | a62325fd06777b188b84d8e6df94a79a1fbbbade (patch) | |
tree | 29e02b9cdeb7da3536424a58a644456857c45705 /desktop/source/lib/init.cxx | |
parent | 7c146a4dfaaf4c8e295803d1deb4d8d0be9cc9d5 (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>
Diffstat (limited to 'desktop/source/lib/init.cxx')
-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 df5f67ad3c2b..c891bd2b0b4f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4072,6 +4072,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... |