Commit 1e998432 authored by Daniel Teske's avatar Daniel Teske

ProjectExplore: Use the filename not displayName for renaming

Those differ for ResourceNodes

Change-Id: I5ef356f65b856d433b98ccf4ca0e185392d0396f
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent a23b3498
......@@ -278,7 +278,7 @@ QVariant FlatModel::data(const QModelIndex &index, int role) const
break;
}
case Qt::EditRole: {
result = node->displayName();
result = QFileInfo(node->path()).fileName();
break;
}
case Qt::ToolTipRole: {
......
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