forked from qt-creator/qt-creator
Fixes: - Show extension of projects to add files to
Details: - Helps distinguishing adding to pro or pri file with same name
This commit is contained in:
@@ -152,7 +152,7 @@ QList<QWizardPage *> ProjectFileWizardExtension::extensionPages(const Core::IWiz
|
|||||||
const int count = m_context->projects.size();
|
const int count = m_context->projects.size();
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
ProjectNode *pn = m_context->projects.at(i);
|
ProjectNode *pn = m_context->projects.at(i);
|
||||||
projectNames.push_back(pn->name());
|
projectNames.push_back(QFileInfo(pn->path()).fileName());
|
||||||
if (current == pn)
|
if (current == pn)
|
||||||
currentIndex = i;
|
currentIndex = i;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user