diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2022-01-14 21:17:14 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-02-14 12:09:30 +0100 |
commit | 424df471870520d01ad8794021fbda72a2c6181f (patch) | |
tree | fddecd369634be3adf22f707c34862693200791b /desktop | |
parent | 14fd2520956a00b0d64a8f0f1077b613b218bae3 (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')
-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 45042b8a9da1..7dda2ce7d82f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1489,6 +1489,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() |