Fix default scene icons
This commit is contained in:
parent
bef59fbdd7
commit
26bd9facd7
@ -140,8 +140,8 @@ Page {
|
||||
delegate: NymeaSwipeDelegate {
|
||||
id: ruleDelegate
|
||||
width: parent.width
|
||||
iconName: "../images/" + (model.executable ? (iconTag.value.length > 0 ? iconTag.value : "slideshow") : "magic") + ".svg"
|
||||
iconColor: model.executable ? (colorTag.value.length > 0 ? colorTag.value : Style.accentColor) : !model.enabled ? "red" : (model.active ? Style.accentColor : "grey")
|
||||
iconName: "../images/" + (model.executable ? (iconTag && iconTag.value.length > 0 ? iconTag.value : "slideshow") : "magic") + ".svg"
|
||||
iconColor: model.executable ? (colorTag && colorTag.value.length > 0 ? colorTag.value : Style.accentColor) : !model.enabled ? "red" : (model.active ? Style.accentColor : "grey")
|
||||
text: model.name
|
||||
canDelete: true
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ MainViewBase {
|
||||
height: interfacesGridView.cellHeight
|
||||
iconName: iconTag ? "../images/" + iconTag.value + ".svg" : "../images/slideshow.svg";
|
||||
fallbackIconName: "../images/slideshow.svg"
|
||||
iconColor: colorTag.value.length > 0 ? colorTag.value : Style.accentColor;
|
||||
iconColor: colorTag && colorTag.value.length > 0 ? colorTag.value : Style.accentColor;
|
||||
text: model.name.toUpperCase()
|
||||
|
||||
property var colorTag: engine.tagsManager.tags.findRuleTag(model.id, "color")
|
||||
|
||||
Reference in New Issue
Block a user