summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-29 15:28:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-29 15:28:34 +0100
commitbb01247f71a46fb7cae18b51516096adfd059bbc (patch)
tree4e5297063f0531207017091aba8dcd40428cac53
parenta32c0828f6f73710d5473bc1cb093519a2a31133 (diff)
Related: tdf#99324 accel underlines don't appear in hyperlink dialog
Change-Id: Ib16b239c88b1d1157fc18bc62b5f01c52e896a48
-rw-r--r--svtools/source/contnr/ivctrl.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx
index 7c35e4a12418..9291c6053097 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