[Libreoffice-commits] core.git: sw/source
Jim Raykowski (via logerrit)
logerrit at kemper.freedesktop.org
Sat Oct 26 06:05:57 UTC 2019
sw/source/uibase/utlui/content.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 6b11ff2f2b8aa626327bd7e2d5f4a8617a54f589
Author: Jim Raykowski <raykowj at gmail.com>
AuthorDate: Wed Oct 23 22:19:17 2019 -0800
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Oct 26 08:05:04 2019 +0200
tdf#128364 Navigator headings left arrow key behavior change
When in headings content navigation view root mode unselect entries
before passing left arrow key on for handling.
Change-Id: I671b27da98cb04ad8980234f44e7636f4239817c
Reviewed-on: https://gerrit.libreoffice.org/81538
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 5ecb48f02415..8d9ceaafa523 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -3125,6 +3125,11 @@ void SwContentTree::KeyInput(const KeyEvent& rEvent)
}
}
+ else if (m_bIsRoot && m_nRootType == ContentTypeId::OUTLINE && aCode.GetCode() == KEY_LEFT)
+ {
+ SelectAll(false);
+ SvTreeListBox::KeyInput(rEvent);
+ }
else
SvTreeListBox::KeyInput(rEvent);
More information about the Libreoffice-commits
mailing list