From 3812a2678c8aeba6ea980e3df5ee63792a217199 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 15 Jan 2021 14:00:50 +0000 Subject: tdf#135641 update DataBrowser has-focus when child widget gains focus Change-Id: Ic5e618b50c31ebeffa1b2cc59857582804874747 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109349 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos --- include/svtools/editbrowsebox.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/svtools/editbrowsebox.hxx') diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 4f212bf9de4d..46a35c203e96 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -173,6 +173,7 @@ namespace svt virtual bool ProcessKey(const KeyEvent& rKEvt); protected: DECL_LINK(KeyInputHdl, const KeyEvent&, bool); + DECL_LINK(FocusInHdl, weld::Widget&, void); }; class SVT_DLLPUBLIC EditControlBase : public ControlBase @@ -981,6 +982,8 @@ namespace svt virtual bool ProcessKey(const KeyEvent& rEvt) override; + virtual void ChildFocusIn() override; + css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCheckBoxCell(sal_Int32 _nRow, sal_uInt16 _nColumnPos,const TriState& eState); bool ControlHasFocus() const; protected: -- cgit