Resolves: tdf#135965 blank helpids for EditControl children

so the helpid of the EditControl itself is chosen and LibreLogo's
help can be shown with F1

Change-Id: I02cf0921dc96533f00149f8fdb4d41b62644ed32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101144
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2020-08-21 14:26:46 +01:00
parent c2f03b1f5d
commit 2ded9c20f5

View File

@@ -66,6 +66,10 @@ EditControl::EditControl(vcl::Window* pParent, EditToolbarController* pEditToolb
, m_xWidget(m_xBuilder->weld_entry("entry"))
, m_pEditToolbarController(pEditToolbarController)
{
OString sEmpty;
m_xWidget->set_help_id(sEmpty);
m_xContainer->set_help_id(sEmpty);
InitControlBase(m_xWidget.get());
m_xWidget->connect_focus_in(LINK(this, EditControl, FocusInHdl));