diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-02-01 11:48:45 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-05 11:33:12 +0000 |
commit | 7eb5f8a54bdcf0520a7aa0a2874a059060866097 (patch) | |
tree | f4dbce305728c0582c721d8fe760ef63fbd5dbe2 /src/quicktemplates2/qquickpopup.cpp | |
parent | 223c1524a7693e2c0f2312dd738c6aeb484358a5 (diff) |
QQuickControl: respect click focus policy for focus scopes
If a focus scope explicitly requests click focus, make it gain active
focus by clearing the sub-focus child.
Pane {
focusPolicy: Qt.ClickFocus
TextField { }
}
[ChangeLog][Controls][Control] Fixed focus scope controls, such as
Frame, GroupBox, Page, and Pane, to respect click focus policy by
clearing a potential sub-focus child. This makes it possible to close
the virtual keyboard by clicking the background of a Pane that has
Qt.ClickFocus set as its focusPolicy, for example.
Task-number: QTBUG-66133
Change-Id: I582f3c66aa6f11e229d89c4f610fae3c6259104d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickpopup.cpp')
0 files changed, 0 insertions, 0 deletions