lok: avoid sending jsdialog messages during background save.
This creates lots of enable/disable traffic that is no longer needed, and may trigger a fallback to non-background-save. Change-Id: I3dd789d13b6c28540422d99128014c9c17e00d70 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166157 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
9e4de8c5f4
commit
e005690e9c
1 changed files with 3 additions and 0 deletions
|
@ -394,6 +394,9 @@ SfxOwnFramesLocker::SfxOwnFramesLocker( SfxObjectShell const * pObjectShell )
|
|||
if ( !pObjectShell )
|
||||
return;
|
||||
|
||||
if ( comphelper::LibreOfficeKit::isForkedChild() )
|
||||
return; // no need to tweak UI when in the background
|
||||
|
||||
for ( SfxViewFrame *pFrame = SfxViewFrame::GetFirst( pObjectShell );
|
||||
pFrame;
|
||||
pFrame = SfxViewFrame::GetNext( *pFrame, pObjectShell )
|
||||
|
|
Loading…
Reference in a new issue