diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2014-04-29 10:55:05 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-29 18:00:54 +0200 |
commit | a8a600e4dfe8163e00885777497f4aa43d11e920 (patch) | |
tree | 89e186a30e5685b7c9ef65fe5f3e4b798d29bd0b /src/controls/Private/TabBar.qml | |
parent | 93fef2e4ac2af407b8eff0fac2006c03cde8926a (diff) | |
download | qtquickcontrols-a8a600e4dfe8163e00885777497f4aa43d11e920.tar.gz |
Fix styleData.activeFocus for TabViewStyle::tab
As the documentation says, the property is supposed to be true when
the specific tab button/item has active focus. It was an alias to tab
bar's activeFocus, so it was true for all tab buttons/items when any of
them had active focus.
Change-Id: I5fd56ec56bb496ce75735a63bbb581c4bcfc6186
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/Private/TabBar.qml')
-rw-r--r-- | src/controls/Private/TabBar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/TabBar.qml b/src/controls/Private/TabBar.qml index 5e76df36..3262b680 100644 --- a/src/controls/Private/TabBar.qml +++ b/src/controls/Private/TabBar.qml @@ -223,7 +223,7 @@ FocusScope { readonly property alias previsousSelected: tabitem.previousSelected readonly property alias hovered: tabitem.containsMouse readonly property alias enabled: tabitem.enabled - readonly property bool activeFocus: tabbar.activeFocus + readonly property bool activeFocus: tabitem.activeFocus readonly property real availableWidth: tabbar.availableWidth readonly property real totalWidth: tabrow.contentWidth } |