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

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


 svtools/source/contnr/ivctrl.cxx |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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

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

diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx
index 7c35e4a..9291c60 100644
--- a/svtools/source/contnr/ivctrl.cxx
+++ b/svtools/source/contnr/ivctrl.cxx
@@ -238,9 +238,13 @@ WinBits SvtIconChoiceCtrl::GetStyle() const
 {
     return _pImpl->GetStyle();
 }
-void SvtIconChoiceCtrl::Command( const CommandEvent& rCEvt )
+
+void SvtIconChoiceCtrl::Command(const CommandEvent& rCEvt)
 {
     _pImpl->Command( rCEvt );
+    //pass at least alt press/release to parent impl
+    if (rCEvt.GetCommand() == CommandEventId::ModKeyChange)
+        Control::Command(rCEvt);
 }
 
 #ifdef DBG_UTIL


More information about the Libreoffice-commits mailing list