diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-11 14:23:04 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-11 20:57:19 +0200 |
commit | 61ef0a842b42ac998a533e8e1ba1e00e02cd973d (patch) | |
tree | b4b17dd100f18627dc5028144d414f31abdff00e /extensions | |
parent | 74aef3f0af59008aa9390bad0b24f8fce0632c87 (diff) |
tdf#145033 remove old focus handler so no double-connect attempt is made
doesn't hurt in this case, but we assert because it has been a fairly
common problem in the past
Change-Id: Id312c8d2693df803962c265a9a49926d8df04cc0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123395
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/browserline.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx index 8618ecffc8fe..d4770ba3e5d1 100644 --- a/extensions/source/propctrlr/browserline.cxx +++ b/extensions/source/propctrlr/browserline.cxx @@ -346,6 +346,7 @@ namespace pcr if (m_pBrowseButton) { m_pBrowseButton->hide(); + m_pBrowseButton->connect_focus_in(Link<weld::Widget&, void>()); m_pBrowseButton = nullptr; } } @@ -354,6 +355,7 @@ namespace pcr if (m_pAdditionalBrowseButton) { m_pAdditionalBrowseButton->hide(); + m_pAdditionalBrowseButton->connect_focus_in(Link<weld::Widget&, void>()); m_pAdditionalBrowseButton = nullptr; } } |