Commit d20d2a82 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Properly remove the items from the FeaturedModel

It was just using the QAIM api wrong
parent 538489ec
......@@ -125,7 +125,7 @@ void FeaturedModel::removeResource(AbstractResource* resource)
if (index<0)
return;
beginRemoveRows({}, index, 0);
beginRemoveRows({}, index, index);
m_resources.removeAt(index);
endRemoveRows();
}
......
Markdown is supported
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