diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-01 21:12:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-02 10:14:18 +0200 |
commit | 125500fed7ee9929ae9f94bcdc113801813dbf73 (patch) | |
tree | 72ecc774cd04f1ea6c331964f15927e6d4b42261 /sfx2/source/view | |
parent | 29b0fa1e9cf84657abe0722d5d92d4741c9b7974 (diff) |
tdf#143149 fix crash if app exits while print progress is running
dismiss the dialog if its parent goes away, but leave the print
job running
Change-Id: Ic29ee0300a7d9476ad27a2594a555312e30c74f2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118244
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/viewprn.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx index 0007daf4a2f8..1be88db77133 100644 --- a/sfx2/source/view/viewprn.cxx +++ b/sfx2/source/view/viewprn.cxx @@ -174,6 +174,7 @@ void SfxPrinterController::Notify( SfxBroadcaster& , const SfxHint& rHint ) { EndListening(*mpViewShell); EndListening(*mpObjectShell); + dialogsParentClosing(); mpViewShell = nullptr; mpObjectShell = nullptr; } |