summaryrefslogtreecommitdiff
path: root/desktop/source/lib
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2022-01-14 21:17:14 +0000
committerMichael Meeks <michael.meeks@collabora.com>2022-01-19 15:09:34 +0100
commit2584950681b6485bb0772d2719cafee678cf7583 (patch)
tree4815e38850bfc20343bfaf8f02ec04cc3f8b6794 /desktop/source/lib
parent96878d682cb298173cfc649271f0e92fc9f62dd4 (diff)
lok: avoid duplicate notification of tab-stop and ruler changes.
We get far too many of these, one per key-stroke sometimes. Change-Id: Ifecffe0a82c6eef6809e3a49883bb3f17cb4d170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128535 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'desktop/source/lib')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 15476008abf2..168fd820d54d 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1484,6 +1484,8 @@ CallbackFlushHandler::CallbackFlushHandler(LibreOfficeKitDocument* pDocument, Li
m_states.emplace(LOK_CALLBACK_CURSOR_VISIBLE, "NIL");
m_states.emplace(LOK_CALLBACK_SET_PART, "NIL");
m_states.emplace(LOK_CALLBACK_TABLE_SELECTED, "NIL");
+ m_states.emplace(LOK_CALLBACK_TAB_STOP_LIST, "NIL");
+ m_states.emplace(LOK_CALLBACK_RULER_UPDATE, "NIL");
}
CallbackFlushHandler::~CallbackFlushHandler()