Qt: Drop column content as text

If the column context does not yield a field description (as in the
case of the protocol or info column) drop as a text instead

Change-Id: Iaa0babf55df8eea65d879aadcf82d6d54f3c8208
Reviewed-on: https://code.wireshark.org/review/33757
Petri-Dish: Roland Knall <rknall@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Roland Knall <rknall@gmail.com>
This commit is contained in:
Roland Knall 2019-06-27 17:18:47 +02:00
parent 8c34629c06
commit 154b4f680d
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ void PacketList::mouseMoveEvent (QMouseEvent *event)
QWidget * content = nullptr;
QString filter = getFilterFromRowAndColumn();
if ( ! filter.isEmpty() || get_column_format(curIndex.column()) == COL_PROTOCOL)
if ( ! filter.isEmpty() )
{
QString abbrev;
QString name = model()->headerData(ctx_column_, header()->orientation()).toString();