loolwsd/ChildSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5edb4cb8c4c51ee5575faed25cc687ec69149096 Author: Marco Cecchetti <marco.cecche...@collabora.com> Date: Sat Oct 1 20:07:39 2016 +0200 loolwsd: Calc: core and client could be on 2 different tabs The check for the current part was done before set view on core to the one of the sender message Change-Id: If4b9264c981ecc4e858d23366045e42be603c7c4 diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp index 355a5d4..1d39b17 100644 --- a/loolwsd/ChildSession.cpp +++ b/loolwsd/ChildSession.cpp @@ -895,10 +895,10 @@ bool ChildSession::setClientPart(const char* /*buffer*/, int /*length*/, StringT auto lock(_loKitDocument->getLock()); + _loKitDocument->setView(_viewId); + if (part != _loKitDocument->getPart()) { - _loKitDocument->setView(_viewId); - _loKitDocument->setPart(part); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits