diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-04 14:22:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-04 16:50:39 +0200 |
commit | ee04805e513b0f804408697fc4b93e3c025d2329 (patch) | |
tree | 94cff76f077644fb1d280df119c6f8f385f6c460 /svtools | |
parent | fc0d2136aee6c1749d780de09df025251703b59e (diff) |
Resolves: tdf#143023 explicitly connect to ControlBase focus-[in/out]
instead of listening to the generic vcl::Window/Control focus events.
The thing which really gets/loses focus is now a Widget hosted inside
the ControlBase.
Change-Id: I012d0bea687aa6d5965a4e2f6ce3899bfc629f1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120003
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/brwbox/ebbcontrols.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx index 3b1819e94923..32ad1e52c748 100644 --- a/svtools/source/brwbox/ebbcontrols.cxx +++ b/svtools/source/brwbox/ebbcontrols.cxx @@ -362,6 +362,7 @@ namespace svt IMPL_LINK_NOARG(ControlBase, FocusOutHdl, weld::Widget&, void) { + m_aFocusOutHdl.Call(nullptr); static_cast<BrowserDataWin*>(GetParent())->GetParent()->ChildFocusOut(); } |