mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-19 06:47:44 +00:00
Show the layer names instead of naming them by index
For some reason SqEX ships their internal names of layers in retail, so we can show them!
This commit is contained in:
parent
77f93c5224
commit
505802706a
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ void ObjectListModel::refresh()
|
|||
auto layerItem = new TreeInformation();
|
||||
layerItem->type = TreeType::Layer;
|
||||
layerItem->parent = fileItem;
|
||||
layerItem->name = i18n("Layer %1", j); // TODO: do display names if we have them
|
||||
layerItem->name = QString::fromLatin1(layer.name);
|
||||
layerItem->row = j;
|
||||
layerItem->id = layer.id;
|
||||
fileItem->children.push_back(layerItem);
|
||||
|
|
Loading…
Add table
Reference in a new issue