Commit 911f6b51 authored by Daniel Teske's avatar Daniel Teske

ResourceNode: Fix renaming prefix

Task-number: QTCREATORBUG-11719
Change-Id: Ib24dd7bf644bbebca3d9a694ec2b98709cfd6cf2
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 349de933
......@@ -353,7 +353,7 @@ bool ResourceFolderNode::renamePrefix(const QString &prefix, const QString &lang
ResourceFile file(m_topLevelNode->path());
if (!file.load())
return false;
int index = file.indexOfPrefix(prefix, lang);
int index = file.indexOfPrefix(m_prefix, m_lang);
if (index == -1)
return false;
......
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