diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-09 20:46:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-10 15:20:40 +0100 |
commit | 48a307b69713a244e747b3a4d444d6793d59b8d9 (patch) | |
tree | ea67c623b2e4dc156be2bd8a558e367ab8ad354b /basctl/source | |
parent | abfdfe6ac1bfc917d1693874f9dec80167e0806f (diff) |
weld SvxFmAbsRecWin item window
Change-Id: I6a11d8ba226b28447e2ab04925090491d6953132
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88348
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/inc/IDEComboBox.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/basctl/source/inc/IDEComboBox.hxx b/basctl/source/inc/IDEComboBox.hxx index 02c0812e9ad0..155256279906 100644 --- a/basctl/source/inc/IDEComboBox.hxx +++ b/basctl/source/inc/IDEComboBox.hxx @@ -96,7 +96,12 @@ protected: virtual void Select() = 0; virtual void FillBox() = 0; - virtual void GetFocus() override { m_xWidget->grab_focus(); } + virtual void GetFocus() override + { + if (m_xWidget) + m_xWidget->grab_focus(); + InterimItemWindow::GetFocus(); + } /// key strokes the ComboBox receives virtual bool HandleKeyInput(const KeyEvent& rKEvt); |