forked from qt-creator/qt-creator
QmlDesigner: Implement dragging an image to a material
Fixes: QDS-9269 Change-Id: Ia71d87773e6acce6659a30985d77d848feea0a89 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
@@ -221,7 +221,7 @@ WidgetInfo MaterialBrowserView::widgetInfo()
|
||||
|
||||
void MaterialBrowserView::createTextures(const QStringList &assetPaths)
|
||||
{
|
||||
auto *create = new CreateTextures(this, false);
|
||||
auto *create = new CreateTextures(this);
|
||||
|
||||
executeInTransaction("MaterialBrowserView::createTextures", [&]() {
|
||||
create->execute(assetPaths, AddTextureMode::Texture, m_sceneId);
|
||||
|
||||
Reference in New Issue
Block a user