Use explicit qml signal argument in ShareAction
This commit is contained in:
@@ -61,10 +61,10 @@ Purpose.PurposeAlternativesModel {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onObjectAdded: {
|
onObjectAdded: (index, object) => {
|
||||||
object.index = index;
|
object.index = index;
|
||||||
shareAction.children.push(object)
|
shareAction.children.push(object)
|
||||||
}
|
}
|
||||||
onObjectRemoved: shareAction.children = Array.from(shareAction.children).filter(obj => obj.pluginId !== object.pluginId)
|
onObjectRemoved: (index, object) => shareAction.children = Array.from(shareAction.children).filter(obj => obj.pluginId !== object.pluginId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user