Kaydet (Commit) 2508ec10 authored tarafından Pranav Kant's avatar Pranav Kant

lokdialog: Suppress duplicate callbacks in flush handler

Change-Id: I94578b9e9c7fc2e6a9d14effe456d821768a0bcb
üst ea03e6ef
......@@ -758,6 +758,7 @@ void CallbackFlushHandler::queue(const int type, const char* data)
case LOK_CALLBACK_SET_PART:
case LOK_CALLBACK_TEXT_VIEW_SELECTION:
case LOK_CALLBACK_INVALIDATE_HEADER:
case LOK_CALLBACK_DIALOG_INVALIDATE:
{
const auto& pos = std::find_if(m_queue.rbegin(), m_queue.rend(),
[type] (const queue_type::value_type& elem) { return (elem.first == type); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment