Added ctrl+w for closing XML FILTER SETTING tool in DRAW
Change-Id: I37cee7027f674003ad4a600a4a36fc1a9eec2dc3
This commit is contained in:
@@ -1046,8 +1046,9 @@ long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
|
||||
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
|
||||
KeyCode aKeyCode = pKEvt->GetKeyCode();
|
||||
sal_uInt16 nKeyCode = aKeyCode.GetCode();
|
||||
sal_Bool bMod1 = pKEvt->GetKeyCode().IsMod1();
|
||||
|
||||
if( nKeyCode == KEY_ESCAPE )
|
||||
if( nKeyCode == KEY_ESCAPE || (bMod1 && (nKeyCode == KEY_W)))
|
||||
{
|
||||
Close();
|
||||
return sal_True;
|
||||
|
Reference in New Issue
Block a user