diff --git a/ui/qt/widgets/packet_list_header.cpp b/ui/qt/widgets/packet_list_header.cpp index 8981f38643..7d12440fdb 100644 --- a/ui/qt/widgets/packet_list_header.cpp +++ b/ui/qt/widgets/packet_list_header.cpp @@ -204,7 +204,11 @@ void PacketListHeader::contextMenuEvent(QContextMenuEvent *event) contextMenu->addSeparator(); for (int cnt = 0; cnt < prefs.num_cols; cnt++) { - QAction *action = new QAction(get_column_title(cnt), this); + QString title(get_column_title(cnt)); + if (get_column_format(cnt) == COL_CUSTOM) { + title.append(QString("\t(%1)").arg(get_column_custom_fields(cnt))); + } + QAction *action = new QAction(title, this); action->setCheckable(true); action->setChecked(get_column_visible(cnt)); action->setData(QVariant::fromValue(cnt));