Commit 11b5dfb6 authored by Tobias Hunger's avatar Tobias Hunger

GenericProject: Fix "Edit Files..." context menu action

This was using the project file as a base, not the project
directory. So no files could get selected.

Change-Id: I60d684ee22a746ca42b1544f8c29626c438cf589
Task-number: QTCREATORBUG-16011
Reviewed-by: default avatarTim Jenssen <>
Reviewed-by: default avatarVikas Pachdha <>
parent afbfe18e
......@@ -86,7 +86,7 @@ void GenericProjectPlugin::editFiles()
auto genericProject = qobject_cast<GenericProject *>(ProjectTree::currentProject());
if (!genericProject)
SelectableFilesDialogEditFiles sfd(genericProject->projectFilePath(),
SelectableFilesDialogEditFiles sfd(genericProject->projectDirectory(),
Utils::transform(genericProject->files(), [](const QString &f) { return Utils::FileName::fromString(f); }),
if (sfd.exec() == QDialog::Accepted)
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