Commit 17ac0506 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.Naviagor: crash fix for slides in model

For some reason gradient stops end up in the navigator model.
This should be fixed for 3.1.

Change-Id: Ic447a6907409e4e9776cfd164a49bb6194cc4cab
Reviewed-by: default avatarThomas Hartmann <>
parent 1750cdc1
......@@ -298,7 +298,9 @@ void NavigatorTreeModel::updateItemRowOrder(const NodeListProperty &listProperty
} else {
parentIdItem = itemRow.idItem->parent();
if (!parentIdItem) //### Items without a parent should not exist
if (currentRow != newRow) {
QList<QStandardItem*> items = parentIdItem->takeRow(currentRow);
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