diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-03 15:27:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-04 20:27:00 +0100 |
commit | 0a09ca614bcf07fadddeecb217f0c871f084810c (patch) | |
tree | 90560942df3c9086032f3d7bbbde1683f34e3dbd /uui | |
parent | 26211f0456227ba7ec23143f8fa6de5c405a8229 (diff) |
Related: tdf#113160 set parent of warning dialogs during load
to the new window frame being constructed that (may) contain
the progress bar, that way such modal dialogs affect the loading
document window and not whatever window happens to be active
Change-Id: I1c7d3185e47fa316eef003b80d18b31d341b79d6
Reviewed-on: https://gerrit.libreoffice.org/44269
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 27a10becaf88..e2ce02c659d5 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -1111,7 +1111,7 @@ UUIInteractionHelper::handleGenericErrorRequest( executeMessageBox(getParentProperty(), aTitle, aErrorString, MessBoxStyle::Ok); } else - ErrorHandler::HandleError(nErrorCode); + ErrorHandler::HandleError(nErrorCode, getParentProperty()); if (xApprove.is() && bWarning) xApprove->select(); |