Show just the description in the description column.

Don't show the display name, as that may include either the interface
name, which is already in another column, or the column comment, which
is also already in another column.

Change-Id: I12f81d9e4579b82267062bb5e4e745925ed382b7
Reviewed-on: https://code.wireshark.org/review/29087
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-08-11 17:45:19 -07:00
parent beacbab55a
commit 713651d9c3
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ QVariant InterfaceTreeModel::data(const QModelIndex &index, int role) const
/* Only the name is being displayed */
if ( col == IFTREE_COL_NAME )
{
return QString(device->display_name);
return QString(device->friendly_name);
}
else if ( col == IFTREE_COL_INTERFACE_NAME )
{