Kaydet (Commit) 8f25e553 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: tdf#99324 let bare tabpage in dialogs get toggled auto-mnemonics

Change-Id: Icdf2a908d131ff05a1c00b7305686edba26d4b24
üst 450a8ee1
......@@ -153,6 +153,18 @@ bool Accelerator::ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::W
pTabPageChild = nextLogicalChildOfParent(pTabPage, pTabPageChild);
}
}
else if ( pGetChild->GetType() == WINDOW_TABPAGE )
{
// bare tabpage without tabcontrol parent (options dialog)
vcl::Window* pTabPageChild = firstLogicalChildOfParent( pGetChild );
// and go through its children
while ( pTabPageChild )
{
ImplHandleControlAccelerator(pTabPageChild, bShowAccel);
pTabPageChild = nextLogicalChildOfParent(pGetChild, pTabPageChild);
}
}
ImplHandleControlAccelerator( pGetChild, bShowAccel );
pGetChild = nextLogicalChildOfParent(pWindow, pGetChild);
......
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