diff options
author | Liang Qi <liang.qi@digia.com> | 2013-04-12 19:24:59 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-15 19:03:00 +0200 |
commit | a80b36edbe963495bca270a178237bc91772eed4 (patch) | |
tree | 85f9d67294c5ee7f3f9e03abb666159689a731f2 /src/controls | |
parent | 2d4ec664426004bab4e40e89038f3c9f835c93e7 (diff) | |
download | qtquickcontrols-a80b36edbe963495bca270a178237bc91772eed4.tar.gz |
Fix the behavior for activeFocusOnTab in ApplicationWindow
Autotests are included.
Change-Id: Ib86919c5eb768534392ba78d18e8f4d1ddac03d3
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/ApplicationWindow.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/controls/ApplicationWindow.qml b/src/controls/ApplicationWindow.qml index 5d501834..e007feb7 100644 --- a/src/controls/ApplicationWindow.qml +++ b/src/controls/ApplicationWindow.qml @@ -124,6 +124,14 @@ Window { /*! \internal */ default property alias data: contentArea.data + /*! \internal */ + Binding { + target: contentItem + property: "activeFocusOnTab" + when: activeFocusItem + value: activeFocusItem ? ( (activeFocusItem != contentItem) ? !activeFocusItem.activeFocusOnTab : true ) : false + } + color: syspal.window SystemPalette {id: syspal} |