diff --git a/src/plugins/projectexplorer/copystep.cpp b/src/plugins/projectexplorer/copystep.cpp index 9f0201d73e9..d152671c70e 100644 --- a/src/plugins/projectexplorer/copystep.cpp +++ b/src/plugins/projectexplorer/copystep.cpp @@ -72,8 +72,11 @@ public: CopyFileStep(BuildStepList *bsl, Id id) : CopyStepBase(bsl, id) { - m_sourceAspect->setExpectedKind(PathChooser::File); - m_targetAspect->setExpectedKind(PathChooser::SaveFile); + // Expected kind could be stricter in theory, but since this here is + // a last stand fallback, better not impose extra "nice to have" + // work on the system. + m_sourceAspect->setExpectedKind(PathChooser::Any); // "File" + m_targetAspect->setExpectedKind(PathChooser::Any); // "SaveFile" setSummaryUpdater([] { return QString("" + Tr::tr("Copy file") + "");