summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2020-03-16 19:02:00 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2020-07-03 14:47:47 +0200
commit0222acda8872b1edef2b8f6417b4a5db8a6bbbe0 (patch)
tree3f60a03e81e326e6bf82b8d9c0587515ebf5f2d4 /desktop
parentaa420d6320317be2a40fb5ba30a6a48c988280ba (diff)
jsdialog: optimization, use latest state, ignore previous
Change-Id: Id637accc4f006ae6206b4e87a44b30d1a8340723 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97849 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 0eb6b45a0d03..68c5430113bc 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1524,6 +1524,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
case LOK_CALLBACK_TEXT_VIEW_SELECTION:
case LOK_CALLBACK_VIEW_CURSOR_VISIBLE:
case LOK_CALLBACK_CALC_FUNCTION_LIST:
+ case LOK_CALLBACK_JSDIALOG:
{
const int nViewId = lcl_getViewId(payload);
removeAll(