summaryrefslogtreecommitdiffstats
path: root/kit
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-02-18 17:29:23 -0400
committerHenry Castro <hcastro@collabora.com>2021-02-22 14:58:58 -0400
commitbe68f06f70ce0acdec688abf1d201b98a367d376 (patch)
tree8d43668fe1ad6984ca916bc6edbc7105cb25f65b /kit
parentwsd: set state loaded when "statusindicatorfinish:" received (diff)
downloadonline-be68f06f70ce0acdec688abf1d201b98a367d376.tar.gz
online-be68f06f70ce0acdec688abf1d201b98a367d376.zip
kit: enable send LOK_CALLBACK_STATUS_INDICATOR_FINISH
Otherwise the LOK_CALLBACK_STATUS_INDICATOR_FINISH message is lost, and client side does not receive it when Macro Security dialog popup. Change-Id: Ife52c77078160b8cc1075eff9137de2d26b87b55 Signed-off-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'kit')
-rw-r--r--kit/Kit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 983d1c8b4a..ab16ac4ca9 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -792,7 +792,8 @@ public:
self->setDocumentPassword(type);
return;
}
- else if (type == LOK_CALLBACK_STATUS_INDICATOR_SET_VALUE)
+ else if (type == LOK_CALLBACK_STATUS_INDICATOR_SET_VALUE ||
+ type == LOK_CALLBACK_STATUS_INDICATOR_FINISH)
{
for (auto& it : self->_sessions)
{