forked from qt-creator/qt-creator
QmlDesigner: Enable the + button for content lib effects and 3d items
Change-Id: Ib4708deaaa2e98953f666c8bfcaddec85d553e9f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -96,6 +96,7 @@ HelperWidgets.ScrollView {
|
||||
height: root.cellHeight
|
||||
|
||||
onShowContextMenu: ctxMenu.popupMenu(modelData)
|
||||
onAddToProject: ContentLibraryBackend.effectsModel.addInstance(modelData)
|
||||
}
|
||||
|
||||
onCountChanged: root.assignMaxCount()
|
||||
|
@@ -130,6 +130,7 @@ HelperWidgets.ScrollView {
|
||||
height: root.cellHeight
|
||||
|
||||
onShowContextMenu: ctxMenuItem.popupMenu(modelData)
|
||||
onAddToProject: ContentLibraryBackend.userModel.addToProject(modelData)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user