| commit | 30507382e11e2340c7dee7adced1f5f37a2d9e7f | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Mon Apr 05 20:02:37 2021 +0100 |
| committer | Caolán McNamara <caolanm@redhat.com> | Mon Apr 05 21:44:49 2021 +0200 |
| tree | 6ac6841b2eb2f39428fa014fb41ba42c1f1c6ad0 | |
| parent | d7c4d0d4ea83481693af3645a03b03b53e456f60 [diff] |
Related: tdf#141499 don't grab focus during teardown of dialog Change-Id: Ib55825294b4276cf36d7ce13562dc52b71f2a5bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113615 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index f4da049..42d17b2 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx
@@ -150,6 +150,8 @@ SvxHpLinkDlg::SvxHpLinkDlg(SfxBindings* pBindings, SfxChildWindow* pChild, weld: SvxHpLinkDlg::~SvxHpLinkDlg() { mbGrabFocus = false; // don't do any grab if tear-down moves focus around during destruction // delete config item, so the base class (SfxModelessDialogController) can not load it on the next start SvtViewOptions aViewOpt( EViewType::TabDialog, OUString::number(SID_HYPERLINK_DIALOG) ); aViewOpt.Delete();