From 83c0b9940057eb734a247a5f44386452a6a1a9e9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 16 Feb 2020 16:28:33 +0000 Subject: weld ExcludeCheckBox Item Window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic9aba102f7a6ac2112cf1f6d1c2f0a0b1beb8c2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88814 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/source/uibase/inc/actctrl.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sw/source/uibase/inc') diff --git a/sw/source/uibase/inc/actctrl.hxx b/sw/source/uibase/inc/actctrl.hxx index 76fe1ca0fe6d..fdb2feb7109b 100644 --- a/sw/source/uibase/inc/actctrl.hxx +++ b/sw/source/uibase/inc/actctrl.hxx @@ -45,6 +45,13 @@ public: disposeOnce(); } + virtual void GetFocus() override + { + if (m_xWidget) + m_xWidget->grab_focus(); + InterimItemWindow::GetFocus(); + } + void connect_value_changed(const Link& rLink) { m_xWidget->connect_value_changed(rLink); -- cgit