Commit 08586809 authored by David Schulz's avatar David Schulz
Browse files

ProjectExplorer: reselecting renamed file



Task-number: QTCREATORBUG-7452

Change-Id: Iaa442ef3d3c63169fa3ad0c60bb6794fea026082
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 150b2187
...@@ -2862,6 +2862,8 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &to) ...@@ -2862,6 +2862,8 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &to)
.arg(orgFilePath) .arg(orgFilePath)
.arg(newFilePath) .arg(newFilePath)
.arg(projectNode->displayName())); .arg(projectNode->displayName()));
} else {
setCurrent(d->m_session->projectForFile(newFilePath), newFilePath, 0);
} }
} }
} }
......
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