From 166d8257979aac6775319a9e1f305bc94df97e29 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Dec 2012 12:49:58 +0000 Subject: Resolves: fdo#57469 allow tab to traverse into custom widgets The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a candidate for getting focus when pressing tab Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405 --- cui/source/dialogs/scriptdlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/scriptdlg.cxx') diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index f149a59879ef..c3ee4883e789 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -85,7 +85,7 @@ SFTreeListBox::SFTreeListBox(Window* pParent) SetStyle( GetStyle() | WB_CLIPCHILDREN | WB_HSCROLL | WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HIDESELECTION | - WB_HASLINES | WB_HASLINESATROOT ); + WB_HASLINES | WB_HASLINESATROOT | WB_TABSTOP ); SetNodeDefaultImages(); nMode = 0xFF; // everything -- cgit