Commit 7bbcaba5 authored by Halla Rempt's avatar Halla Rempt
Browse files

Don't rename resources.

parent d44e2350
......@@ -205,7 +205,7 @@ public:
m_resourcesByFilename[resource->shortFilename()] = resource;
if (resource->name() != fname) {
if (resource->name().isEmpty()) {
resource->setName(fname);
}
if (m_resourcesByName.contains(resource->name())) {
......
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