diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2022-01-14 21:17:14 +0000 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2022-01-19 15:22:40 +0100 |
commit | 1b826cf5cdc6aa145d62a1b0e6567a91b4b1acb9 (patch) | |
tree | 8f33f66d14013ffb0695326b3449c2b2aeab2af2 | |
parent | Fix typo in SAL_WARN() call (diff) | |
download | core-1b826cf5cdc6aa145d62a1b0e6567a91b4b1acb9.tar.gz core-1b826cf5cdc6aa145d62a1b0e6567a91b4b1acb9.zip |
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/+/128571
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index dc3ff66ebd5c..ea15a2702649 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1494,6 +1494,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() |