Commit c2472276 authored by Marco Bubke's avatar Marco Bubke Committed by Thomas Hartmann
Browse files

QmlDesigner: Fix crash for master document handling

Happens for dragging a list view in the document.

Change-Id: Id8d00fc880789a0e5e85d455850bb1ec3eaac434
Reviewed-by: default avatarThomas Hartmann <>
Reviewed-by: default avatarMarco Bubke <>
parent 3082d5c0
...@@ -126,7 +126,7 @@ void ComponentView::addMasterDocument() ...@@ -126,7 +126,7 @@ void ComponentView::addMasterDocument()
void ComponentView::removeMasterDocument() void ComponentView::removeMasterDocument()
{ {
m_standardItemModel->removeColumn(indexOfMaster()); m_standardItemModel->removeRow(indexOfMaster());
} }
QString ComponentView::descriptionForNode(const ModelNode &node) const QString ComponentView::descriptionForNode(const ModelNode &node) const
Supports Markdown
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