[Libreoffice-commits] core.git: cui/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 5 19:45:26 UTC 2021
cui/source/dialogs/cuihyperdlg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 30507382e11e2340c7dee7adced1f5f37a2d9e7f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 5 20:02:37 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Apr 5 21:44:49 2021 +0200
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 at redhat.com>
diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx
index f4da049c61cb..42d17b2fe720 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();
More information about the Libreoffice-commits
mailing list