sc/source/ui/view/tabvwsh4.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 6f4566132d0e819351ccfa2c0d21926f4c8e4064 Author: Szymon Kłos <[email protected]> AuthorDate: Thu Jul 21 15:22:36 2022 +0200 Commit: Gökay ŞATIR <[email protected]> CommitDate: Mon Jul 25 16:16:01 2022 +0200 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 <[email protected]> Reviewed-by: Rashesh Padia <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> (cherry picked from commit a173b937aa8b8b67a423f23b05ddf02f83870034) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137414 Reviewed-by: Gökay ŞATIR <[email protected]> diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index dfc97880f263..b8d2afaf3462 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -159,7 +159,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 ) {
