[Libreoffice-commits] core.git: desktop/source
Pranav Kant
pranavk at collabora.co.uk
Wed Nov 29 20:03:56 UTC 2017
desktop/source/lib/init.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 34f7659e3232e8e491b02f67cba503505fa79fd2
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
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 243aba70c5b5..0bfa4c7d9317 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -787,6 +787,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