diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-12-04 17:07:49 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-04 18:49:49 +0100 |
commit | b57e8b29d7d5125895f65ca36ec74abe0875ceef (patch) | |
tree | 15286b73600773d4908aba13b7d7955835966be0 /src/controls/StatusBar.qml | |
parent | 2a34659e22ce704101b7e8bc9b667044e801dc19 (diff) | |
download | qtquickcontrols-b57e8b29d7d5125895f65ca36ec74abe0875ceef.tar.gz |
Make StatusBar and ToolBar focus scopes
The problem is that the content item of both these controls have
the focus property set to true. This property will then affect the
implicit focus logic and should be protected by a focusscope.
Currently adding a ToolBar or StatusBar to an application could
result in this content item grabbing focus implicitly even if the
application only sets focus: true on a single item.
Task-number: QTBUG-34713
Change-Id: I94cb79d25e4cfd727915f5b5ab612ad5c0132db7
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/StatusBar.qml')
-rw-r--r-- | src/controls/StatusBar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/StatusBar.qml b/src/controls/StatusBar.qml index cf41a2dc..5993ce46 100644 --- a/src/controls/StatusBar.qml +++ b/src/controls/StatusBar.qml @@ -72,7 +72,7 @@ import QtQuick.Controls.Private 1.0 \endcode */ -Item { +FocusScope { id: statusbar activeFocusOnTab: false |