diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2022-07-21 15:22:36 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2022-07-26 16:55:27 +0200 |
commit | ebbd0d763a84fdc6fc4fc8e70242f5c5ee70be71 (patch) | |
tree | 3c19455d487e798351a5024843da873befe047b9 /sc | |
parent | 496475c66665209dcb56f0bd1528b14dd8b689ca (diff) |
lok: don't force formulabar update on every view switch
This will reduce number of messages and helps to avoid
selection change in other views when someone is editing
a multiline cell and other user is doing something else
at the same time (which triggers view switching to perform
operations as different user).
Change-Id: I8efc82be9793910c46bf6f33f7993e4c5734f9de
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137304
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Rashesh Padia <rashesh.padia@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137463
Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index fb41a4b1d715..94db6ca12a13 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -157,7 +157,8 @@ void ScTabViewShell::Activate(bool bMDI) } } - UpdateInputHandler( /*bForce=*/ true, /*bStopEditing=*/ !comphelper::LibreOfficeKit::isActive() ); + bool isLOK = comphelper::LibreOfficeKit::isActive(); + UpdateInputHandler( /*bForce=*/ !isLOK, /*bStopEditing=*/ !isLOK ); if ( bFirstActivate ) { |