summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-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");