Commit c7b3e402 authored by David Redondo's avatar David Redondo 🏎
Browse files

Properly change colorSet

Setting inherit to false is mandatory otherwise changing the colorset
will do nothing.
BUG:434006
FIXED-IN:5.21.3
parent b1148de1
......@@ -18,6 +18,7 @@ Label {
text: model.display != undefined ? model.display : ""
Kirigami.Theme.colorSet: background.selected ? Kirigami.Theme.Selection : Kirigami.Theme.View
Kirigami.Theme.inherit: false
maximumLineCount: 1
elide: Text.ElideRight
......
......@@ -21,6 +21,7 @@ Control {
property bool treeDecorationVisible: false
Kirigami.Theme.colorSet: background.selected ? Kirigami.Theme.Selection : Kirigami.Theme.View
Kirigami.Theme.inherit: false
background: CellBackground { view: delegate.TableView.view; row: model.row; column: model.column }
......
......@@ -21,6 +21,7 @@ Control {
property alias valueSources: chart.valueSources
Kirigami.Theme.colorSet: background.selected ? Kirigami.Theme.Selection : Kirigami.Theme.View
Kirigami.Theme.inherit: false
property int _row: model.row
property int _column: model.column
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment