Commit 698d423b authored by luyikei's avatar luyikei

Effect.qml: Fix possibly reading null

parent 5d22ca3d
...@@ -6,7 +6,6 @@ Rectangle { ...@@ -6,7 +6,6 @@ Rectangle {
border.color: "#222222" border.color: "#222222"
border.width: 1 border.width: 1
width: parent.width
height: childrenRect.height height: childrenRect.height
property string identifier property string identifier
......
...@@ -25,6 +25,7 @@ Rectangle { ...@@ -25,6 +25,7 @@ Rectangle {
width: sView.viewport.width width: sView.viewport.width
model: effects model: effects
delegate: Effect { delegate: Effect {
width: sView.viewport.width
identifier: model.identifier identifier: model.identifier
name: model.name name: model.name
description: model.description description: model.description
......
Markdown is supported
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