diff options
Diffstat (limited to 'src/controls/Styles/Base/TableViewStyle.qml')
-rw-r--r-- | src/controls/Styles/Base/TableViewStyle.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Styles/Base/TableViewStyle.qml b/src/controls/Styles/Base/TableViewStyle.qml index ca4cc428..e5e6db2f 100644 --- a/src/controls/Styles/Base/TableViewStyle.qml +++ b/src/controls/Styles/Base/TableViewStyle.qml @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Quick Controls module of the Qt Toolkit. @@ -110,7 +110,7 @@ ScrollViewStyle { */ property Component rowDelegate: Rectangle { height: Math.round(TextSingleton.implicitHeight * 1.2) - property color selectedColor: styleData.hasActiveFocus ? "#07c" : "#999" + property color selectedColor: control.activeFocus ? "#07c" : "#999" color: styleData.selected ? selectedColor : !styleData.alternate ? alternateBackgroundColor : backgroundColor } |