mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 825498: Focus issue on tablets with h/w keyboard. [r=mfinkle]
--HG-- extra : rebase_source : 926d53f94908842a3bbaa1d6d3747b455eaa153d
This commit is contained in:
parent
a15006d7fb
commit
a655001930
@ -351,7 +351,9 @@ public class TabsPanel extends TabHost
|
||||
mCurrentPanel = panel;
|
||||
|
||||
int index = panel.ordinal();
|
||||
setDescendantFocusability(ViewGroup.FOCUS_BLOCK_DESCENDANTS);
|
||||
setCurrentTab(index);
|
||||
setDescendantFocusability(ViewGroup.FOCUS_AFTER_DESCENDANTS);
|
||||
mTabsSpinner.setSelection(index);
|
||||
|
||||
mPanel = (PanelView) getTabContentView().getChildAt(index);
|
||||
|
Loading…
Reference in New Issue
Block a user