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

DialogControlFlags::Mod1Tab is never set

Change-Id: If681e1f296934c7e20934b0e000a3288f989ed35
üst af8c151f
......@@ -393,12 +393,11 @@ enum class DialogControlFlags
NONE = 0x0000,
Return = 0x0001,
WantFocus = 0x0002,
Mod1Tab = 0x0004,
FloatWinPopupModeEndCancel = 0x0008,
FloatWinPopupModeEndCancel = 0x0004,
};
namespace o3tl
{
template<> struct typed_flags<DialogControlFlags> : is_typed_flags<DialogControlFlags, 0x000f> {};
template<> struct typed_flags<DialogControlFlags> : is_typed_flags<DialogControlFlags, 0x0007> {};
}
// EndExtTextInput() Flags
......
......@@ -799,8 +799,7 @@ bool Window::ImplDlgCtrl( const KeyEvent& rKEvt, bool bKeyInput )
{
// Only use Ctrl-TAB if it was allowed for the whole
// dialog or for the current control (#103667#)
if ( !aKeyCode.IsMod1() || (nDlgCtrlFlags & DialogControlFlags::Mod1Tab) ||
( pSWindow->GetStyle() & WB_NODIALOGCONTROL) )
if (!aKeyCode.IsMod1() || (pSWindow->GetStyle() & WB_NODIALOGCONTROL))
{
if ( aKeyCode.IsShift() )
{
......
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