diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-04-05 15:27:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-04-05 20:24:51 +0100 |
commit | dd46727b99d4bb5135451aa7e5e1bdb197373843 (patch) | |
tree | 47ee49810362bb405339682d27d36092d101cffc /svx/source/tbxctrls/lboxctrl.cxx | |
parent | 92d43df81e282d20c129b105b2c7300a312091eb (diff) |
Resolves; tdf#87120 no keyboard navigation inside floating windows
lets try and treat these the same as we do normal toplevels
like dialogs if they popup with GrabFocus.
This way focus can be set on widgets inside the floating windows, and
so keyboard traversal of widgets etc all works.
Change-Id: If447429756cf5d136b9c2e2f62fafb37c167b1ce
Diffstat (limited to 'svx/source/tbxctrls/lboxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index e5e83d60f42a..e5141f15324c 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -73,7 +73,6 @@ public: bool IsUserSelected() const { return bUserSel; } void SetUserSelected( bool bVal ) { bUserSel = bVal; } - virtual vcl::Window* GetPreferredKeyInputWindow() override; }; SvxPopupWindowListBox::SvxPopupWindowListBox(sal_uInt16 nSlotId, const OUString& rCommandURL, sal_uInt16 nId, ToolBox& rTbx) @@ -128,13 +127,6 @@ void SvxPopupWindowListBox::StateChanged( SfxPopupWindow::StateChanged( nSID, eState, pState ); } -vcl::Window* SvxPopupWindowListBox::GetPreferredKeyInputWindow() -{ - // allows forwarding key events in the correct window - // without setting the focus - return m_pListBox->GetPreferredKeyInputWindow(); -} - SvxListBoxControl::SvxListBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) :SfxToolBoxControl( nSlotId, nId, rTbx ), pPopupWin ( nullptr ) |