소스 검색

修改待导入指标体系的名称;

Ulricy 1 년 전
부모
커밋
ebf9630684
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      QFD/widgets/ImportIndexWidget.cpp

+ 2 - 1
QFD/widgets/ImportIndexWidget.cpp

@@ -107,7 +107,8 @@ void ImportIndexWidget::showIndex()
     m_confirm->setEnabled(false);
     for (IndexSystemInfo info : m_indexSysList) {
         QListWidgetItem *item = new QListWidgetItem();
-        item->setText(info.projName);
+        QString indexName     = ProjectManager::nameOfIndexType((ProjectManager::IndexType)info.indexType);
+        item->setText(info.projName + "-" + indexName);
         m_listWidget->addItem(item);
     }
 }