瀏覽代碼

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

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);
     }
 }