diff options
-rw-r--r-- | sfx2/source/doc/objserv.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index ea9103c3804e..0be2858aad5b 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -1579,6 +1579,12 @@ void SfxObjectShell::SignSignatureLine(weld::Window* pDialogParent, false, HasValidSignatures(), aSignatureLineId, xCert, xValidGraphic, xInvalidGraphic, aComment); AfterSigning(bSignSuccess, false); + + // Reload the document to get the updated graphic + // FIXME: Update just the signature line graphic instead of reloading the document + SfxViewFrame *pFrame = GetFrame(); + if (pFrame) + pFrame->GetDispatcher()->Execute(SID_RELOAD); } SignatureState SfxObjectShell::GetScriptingSignatureState() |