forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Thomas Hartmann
parent
3082d5c0fd
commit
c247227618
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user