summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-02-08 18:27:56 -0900
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-03-14 00:33:45 +0100
commit6d2f6f2f01a4fbf244ba16c355d2f43a2ddf671e (patch)
tree72414e6a66dfe6b561e4dda7d1fab6d97c45f859 /sfx2
parent32f42d093d4408666151d03f04823e2bb39e46cd (diff)
tdf#115565 Change tab key behavior to navigate out of gotopage control
...in Writer Sidebar Navigator deck helper toolbox Change-Id: Ieeabcb30f421aa0ce2a5f841e45fff5f57358215 Reviewed-on: https://gerrit.libreoffice.org/50295 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/FocusManager.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx
index 78cb149ba0bf..9872e34817e6 100644
--- a/sfx2/source/sidebar/FocusManager.cxx
+++ b/sfx2/source/sidebar/FocusManager.cxx
@@ -571,13 +571,17 @@ IMPL_LINK(FocusManager, ChildEventListener, VclWindowEvent&, rEvent, void)
break;
case KEY_TAB:
+ {
+ WindowType aWindowType = pSource->GetType();
if (mpFirstFocusedContentControl!=nullptr
- && mpLastFocusedWindow == mpFirstFocusedContentControl)
+ && ( mpLastFocusedWindow == mpFirstFocusedContentControl
+ && !( WindowType::EDIT == aWindowType || WindowType::SPINFIELD == aWindowType ) ))
{
// Move focus back to panel (or deck)
// title.
FocusPanel(aLocation.mnIndex, true);
}
+ }
break;
default: