summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2021-06-25 14:52:22 +0530
committerDennis Francis <dennis.francis@collabora.com>2021-08-12 10:43:51 +0200
commit9d23cc663a1f14c960ebe05059cb520cb41dc01c (patch)
tree45d589b13c21298daab716afcb4bacad1d9ddb9d /desktop
parentd89a9d72cbbcf6bd7e1c5a4f3f00db5122e36707 (diff)
lok: sw: avoid duplicate LOK_CALLBACK_TABLE_SELECTED msgs
Alternate approach is to track changes in the active table in each view but it needs a bigger change and run the risk of overlooking cases where table dimensions and position changes, which is possibly why this message is created from UpdateCursor() in the first place. Change-Id: I06643e2a7416d6c0fe2b0dc5c9b4adcd45fa50c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118001 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit 34ade20a09a1c3fe08daec2b276a06a1f895bd5a) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120354 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b796d4240ba3..ee0e6f05bb25 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -1392,6 +1392,7 @@ CallbackFlushHandler::CallbackFlushHandler(LibreOfficeKitDocument* pDocument, Li
m_states.emplace(LOK_CALLBACK_CELL_ADDRESS, "NIL");
m_states.emplace(LOK_CALLBACK_CURSOR_VISIBLE, "NIL");
m_states.emplace(LOK_CALLBACK_SET_PART, "NIL");
+ m_states.emplace(LOK_CALLBACK_TABLE_SELECTED, "NIL");
Start();
}