[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - desktop/source
Pranav Kant
pranavk at collabora.co.uk
Thu Nov 30 16:41:31 UTC 2017
desktop/source/lib/init.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 24f908d9a1833779497f36f9f006c29f47986571
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Wed Nov 29 19:54:15 2017 +0530
lokdialog: Compress DIALOG_CHILD callbacks
In complex dialogs, they flood the lok client otherwise with duplicate
callbacks.
Change-Id: I6ab1ef12b90caed22dfc464e18068f5830cb9532
Reviewed-on: https://gerrit.libreoffice.org/45542
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 82f76bafe2c1..f0c970905a39 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -810,6 +810,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
case LOK_CALLBACK_TEXT_VIEW_SELECTION:
case LOK_CALLBACK_INVALIDATE_HEADER:
case LOK_CALLBACK_DIALOG:
+ case LOK_CALLBACK_DIALOG_CHILD:
{
const auto& pos = std::find_if(m_queue.rbegin(), m_queue.rend(),
[type] (const queue_type::value_type& elem) { return (elem.first == type); });
More information about the Libreoffice-commits
mailing list