diff options
Diffstat (limited to 'sfx2/source/inet/inettbc.cxx')
-rw-r--r-- | sfx2/source/inet/inettbc.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/source/inet/inettbc.cxx b/sfx2/source/inet/inettbc.cxx index 1e11800c3b91..17dd5de0b61c 100644 --- a/sfx2/source/inet/inettbc.cxx +++ b/sfx2/source/inet/inettbc.cxx @@ -71,6 +71,8 @@ public: : InterimItemWindow(pParent, "sfx/ui/urlbox.ui", "URLBox") , m_xWidget(new SvtURLBox(m_xBuilder->weld_combo_box("urlbox"))) { + InitControlBase(m_xWidget->getWidget()); + m_xWidget->connect_key_press(LINK(this, URLBoxItemWindow, KeyInputHdl)); int nWidth = GetDesktopRectPixel().GetWidth() > 800 ? 300 : 225; @@ -88,13 +90,6 @@ public: InterimItemWindow::dispose(); } - virtual void GetFocus() override - { - if (m_xWidget) - m_xWidget->grab_focus(); - InterimItemWindow::GetFocus(); - } - void set_sensitive(bool bSensitive) { Enable(bSensitive); |