Kaydet (Commit) 74e12819 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Noel Grandin

tdf#121448 Check if fill box event notify is already handled

Change-Id: I8b2e1e7a7bf711e78feb3c0532d597f1e9f14c03
Reviewed-on: https://gerrit.libreoffice.org/64419
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 0a139d98
......@@ -420,7 +420,7 @@ bool SvxFillTypeBox::EventNotify( NotifyEvent& rNEvt )
if (isDisposed())
return false;
if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
if ( !bHandled && rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
switch ( pKEvt->GetKeyCode().GetCode() )
......@@ -482,7 +482,7 @@ bool SvxFillAttrBox::EventNotify( NotifyEvent& rNEvt )
{
bool bHandled = ListBox::EventNotify( rNEvt );
if ( rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
if ( !bHandled && rNEvt.GetType() == MouseNotifyEvent::KEYINPUT )
{
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment