summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-29 15:26:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-29 15:26:01 +0100
commita32c0828f6f73710d5473bc1cb093519a2a31133 (patch)
treed40b4fd2422bde8c4758cbe656e51431d43ff3fe
parent6da9e55fb68f937d14944d347381d619ccef220a (diff)
Related: tdf#99324 accel underlines don't appear in options dialog
Change-Id: I47cb6df2118ea86dea7225842dcdc4c1dafc439f
-rw-r--r--svtools/source/contnr/treelistbox.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 1dda5b529bf7..4754c5114031 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3436,13 +3436,14 @@ void SvTreeListBox::SetHighlightRange( sal_uInt16 nStart, sal_uInt16 nEnd)
pImpl->RecalcFocusRect();
}
-void SvTreeListBox::Command( const CommandEvent& rCEvt )
+void SvTreeListBox::Command(const CommandEvent& rCEvt)
{
- // FIXME gnumake2 resync to DEV300_m84
- pImpl->Command( rCEvt );
+ pImpl->Command(rCEvt);
+ //pass at least alt press/release to parent impl
+ if (rCEvt.GetCommand() == CommandEventId::ModKeyChange)
+ Control::Command(rCEvt);
}
-
void SvTreeListBox::RemoveParentKeepChildren( SvTreeListEntry* pParent )
{
DBG_ASSERT(pParent,"RemoveParentKeepChildren:No Parent");