[Libreoffice-commits] core.git: svtools/source

Caolán McNamara caolanm at redhat.com
Fri Jul 29 14:26:47 UTC 2016


 svtools/source/contnr/treelistbox.cxx |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit a32c0828f6f73710d5473bc1cb093519a2a31133
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 29 15:26:01 2016 +0100

    Related: tdf#99324 accel underlines don't appear in options dialog
    
    Change-Id: I47cb6df2118ea86dea7225842dcdc4c1dafc439f

diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 1dda5b5..4754c51 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");


More information about the Libreoffice-commits mailing list