diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-11-25 14:02:03 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2014-11-28 16:12:45 +0100 |
commit | fbcc860f28bbd062855359c635dd67420d6e8c9e (patch) | |
tree | 583a3a999d2df9b741ddb54bdd0d1018c44e0c21 /src/controls | |
parent | 71314570d03631f50ab2c262011aba6a572d0ced (diff) | |
download | qtquickcontrols-fbcc860f28bbd062855359c635dd67420d6e8c9e.tar.gz |
Fix StackView focus handling
Make StackView a FocusScope so inner focus changes don't have
undesired side effects in other parts of the application.
Task-number: QTBUG-42506
Change-Id: I0d901083196cf90f236a24e1dcd2e91bd9f320db
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/StackView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/StackView.qml b/src/controls/StackView.qml index bd9c4de9..002355dc 100644 --- a/src/controls/StackView.qml +++ b/src/controls/StackView.qml @@ -473,7 +473,7 @@ import QtQuick.Controls.Private 1.0 \endlist */ -Item { +FocusScope { id: root /*! \qmlproperty int StackView::depth |