summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-12-01 16:08:30 -0900
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-07 08:27:34 +0100
commit74e1281955782ca5c8a2dfb6d668a53e097b9be1 (patch)
tree951347f93cb75b203a99531102bb7b725f20a51c /svx
parent0a139d98477c116f14041b3c4ebb7bb6204808d3 (diff)
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: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/itemwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index c41ba2a86dc1..03725e3868f4 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -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();