fix(frontend):最佳匹配的tooltip未显示换行符

This commit is contained in:
JunjieBai 2023-12-21 16:18:51 +08:00
parent 9ff607afe1
commit b46f7b641b
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ QVariant BestListModel::data(const QModelIndex &index, int role) const
return m_items.at(index.row()).name;
}
case Qt::ToolTipRole: {
return m_items.at(index.row()).name;
return m_items.at(index.row()).toolTip;
}
default:
return QVariant();