Browse Source

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

Ulricy 1 year ago
parent
commit
ebf9630684
1 changed files with 2 additions and 1 deletions
  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);
     }
 }