mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Fix object names in editor
This commit is contained in:
parent
f57a77c2fe
commit
4ec13dc5ab
@ -480,7 +480,7 @@ void MainWindow::addGroupIntoCatalog(const std::string & groupName, bool useCust
|
||||
if(staticOnly && !factory->isStaticObject())
|
||||
continue;
|
||||
|
||||
auto subGroupName = QString::fromStdString(factory->getNameTranslated());
|
||||
auto subGroupName = QString::fromStdString(VLC->objtypeh->getObjectName(ID, secondaryID));
|
||||
|
||||
auto * itemType = new QStandardItem(subGroupName);
|
||||
for(int templateId = 0; templateId < templates.size(); ++templateId)
|
||||
|
Loading…
Reference in New Issue
Block a user