Show tooltip with tags only if a visibility group has at least one.
This commit is contained in:
parent
cf51f3837d
commit
0df099b4ca
|
@ -343,7 +343,10 @@ void VWidgetGroups::FillTable(QMap<quint32, VGroupData> groups)
|
|||
|
||||
item = new QTableWidgetItem(data.name);
|
||||
item->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
item->setToolTip(tr("Categories: %1.").arg(data.tags.join(", ")));
|
||||
if (not data.tags.isEmpty())
|
||||
{
|
||||
item->setToolTip(tr("Categories: %1.").arg(data.tags.join(", ")));
|
||||
}
|
||||
|
||||
if(doc->GroupIsEmpty(i.key()))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user