Show tooltip with tags only if a visibility group has at least one.

This commit is contained in:
Roman Telezhynskyi 2020-05-07 17:00:41 +03:00
parent cf51f3837d
commit 0df099b4ca

View File

@ -343,7 +343,10 @@ void VWidgetGroups::FillTable(QMap<quint32, VGroupData> groups)
item = new QTableWidgetItem(data.name);
item->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter);
if (not data.tags.isEmpty())
{
item->setToolTip(tr("Categories: %1.").arg(data.tags.join(", ")));
}
if(doc->GroupIsEmpty(i.key()))
{