diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-23 10:50:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-23 14:54:06 +0100 |
commit | 731f08e5a84817dbc3c6be6e670025d51f39cd61 (patch) | |
tree | d40ada302938cc34981d36d684bdab5ea67c2721 /include/svtools/editbrowsebox.hxx | |
parent | acb442a5ffce156e6af4781643df76d4bebe5df5 (diff) |
reportdesigner focus out handler clobbering the preexisting handler
set by the databrowser, so chain one after the other
Change-Id: I5aa16635031be425b9354e5a2d6b891a81d54e55
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111384
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/editbrowsebox.hxx')
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 6ff261e2e254..20a302f75b61 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -171,10 +171,19 @@ namespace svt virtual void SetEditableReadOnly(bool bReadOnly); virtual bool ProcessKey(const KeyEvent& rKEvt); + + // chain after the FocusOutHdl + void SetFocusInHdl(const Link<LinkParamNone*,void>& rHdl) + { + m_aFocusInHdl = rHdl; + } + protected: DECL_LINK(KeyInputHdl, const KeyEvent&, bool); DECL_LINK(FocusInHdl, weld::Widget&, void); DECL_LINK(FocusOutHdl, weld::Widget&, void); + private: + Link<LinkParamNone*,void> m_aFocusInHdl; }; class SVT_DLLPUBLIC EditControlBase : public ControlBase |