Make dock/undock short cut work from sidebar tabbar
Makes Shift+Ctrl+F10 short cut to dock/undock sidebar work from the sidebar tabbar Change-Id: Idd895e35e65f4cd66b7af16c39f5b0fd69fb5796 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85687 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
This commit is contained in:
parent
6a308d2bfa
commit
51f8e04eaa
1 changed files with 2 additions and 1 deletions
|
@ -245,7 +245,8 @@ bool TabBar::EventNotify(NotifyEvent& rEvent)
|
|||
mpAccel->init(comphelper::getProcessComponentContext(), mxFrame);
|
||||
}
|
||||
const OUString aCommand(mpAccel->findCommand(svt::AcceleratorExecute::st_VCLKey2AWTKey(rKeyCode)));
|
||||
if (".uno:Sidebar" == aCommand)
|
||||
if (".uno:Sidebar" == aCommand ||
|
||||
(rKeyCode.IsMod1() && rKeyCode.IsShift() && rKeyCode.GetCode() == KEY_F10))
|
||||
return vcl::Window::EventNotify(rEvent);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue