Fixed a case where drag and drop a submodel didn't do anything.

This commit is contained in:
Leonardo Zide
2020-02-01 11:34:56 -08:00
parent 60aca425a0
commit fb7f952e98
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ void lcPartSelectionWidget::UpdateCategories()
if (CurrentType == lcPartCategoryType::AllParts && CurrentIndex == 0)
CurrentItem = AllPartsCategoryItem;
QTreeWidgetItem* CurrentModelCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(tr("Parts In Use")));
QTreeWidgetItem* CurrentModelCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(tr("In Use")));
CurrentModelCategoryItem->setData(0, static_cast<int>(lcPartCategoryRole::Type), static_cast<int>(lcPartCategoryType::PartsInUse));
if (CurrentType == lcPartCategoryType::PartsInUse && CurrentIndex == 0)