diff options
author | Marco Bubke <marco.bubke@digia.com> | 2013-12-17 17:36:42 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-01-06 14:19:51 +0100 |
commit | c2472276187587d0b70c0f5b992f90d81edae757 (patch) | |
tree | 4e4763df822b13bae2fdff1224173cea9d78eabb /src | |
parent | 3082d5c0fdcaa829bff1c6a0a1b2fbcd64e73f25 (diff) |
QmlDesigner: Fix crash for master document handling
Happens for dragging a list view in the document.
Change-Id: Id8d00fc880789a0e5e85d455850bb1ec3eaac434
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmldesigner/components/integration/componentview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/integration/componentview.cpp b/src/plugins/qmldesigner/components/integration/componentview.cpp index 122c14797a..53f90a407a 100644 --- a/src/plugins/qmldesigner/components/integration/componentview.cpp +++ b/src/plugins/qmldesigner/components/integration/componentview.cpp @@ -126,7 +126,7 @@ void ComponentView::addMasterDocument() void ComponentView::removeMasterDocument() { - m_standardItemModel->removeColumn(indexOfMaster()); + m_standardItemModel->removeRow(indexOfMaster()); } QString ComponentView::descriptionForNode(const ModelNode &node) const |