Commit e8149224 authored by Nate Graham's avatar Nate Graham 🔩

Fix "containsDrag" QML error

When accessing a Loader's item, you always need to also check to make sure
that the loader has an item (it may not).
parent 9b1bce5b
......@@ -208,7 +208,7 @@ FocusScope {
}
},
State {
when: topDropAreaLoader.item.containsDrag
when: topDropAreaLoader.item && topDropAreaLoader.item.containsDrag
name: "droppingAbove"
PropertyChanges {
target: topPlaceholder
......
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