mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Renamed Models to Submodels for consistency.
This commit is contained in:
parent
47b28d06be
commit
9fc0544cfb
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ void lcPartSelectionWidget::UpdateCategories()
|
||||||
for (int CategoryIdx = 0; CategoryIdx < gCategories.GetSize(); CategoryIdx++)
|
for (int CategoryIdx = 0; CategoryIdx < gCategories.GetSize(); CategoryIdx++)
|
||||||
new QTreeWidgetItem(mCategoriesWidget, QStringList(gCategories[CategoryIdx].Name));
|
new QTreeWidgetItem(mCategoriesWidget, QStringList(gCategories[CategoryIdx].Name));
|
||||||
|
|
||||||
mModelsCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(tr("Models")));
|
mModelsCategoryItem = new QTreeWidgetItem(mCategoriesWidget, QStringList(tr("Submodels")));
|
||||||
|
|
||||||
if (CurrentIndex != -1)
|
if (CurrentIndex != -1)
|
||||||
mCategoriesWidget->setCurrentItem(mCategoriesWidget->topLevelItem(CurrentIndex));
|
mCategoriesWidget->setCurrentItem(mCategoriesWidget->topLevelItem(CurrentIndex));
|
||||||
|
|
Loading…
Reference in a new issue