Modifying packet comments doesn't update packet details dissection
Summary
When adding, changing or removing packet comments. the corresponding packet details pane doesn't update with the new information. It keeps showing the old comments until refreshed.
Steps to reproduce
Add a comment to a packet which has none. See that the packet in the packet details pane does not show a packet comment. Select a different packet, then the previous packet again and the packet comment shows up. The same happens with changing and removing packet comments.
What is the current bug behavior?
The packet comments in the packet details pane are not updated when the packet comments are changed.
What is the expected correct behavior?
The packet comments in the packet details pane are updated when the packet comments are changed.
Sample capture file
Any pcapng file will do.
Build information
3.7.0 (v3.7.0rc0-393-g80030962607a)
Compiled (64-bit) using GCC 11.2.0, with Qt 5.15.2, with libpcap, with POSIX
capabilities (Linux), with libnl 3, with GLib 2.70.1, with PCRE2, with zlib
1.2.11, with Lua 5.2.4, with GnuTLS 3.7.2 and PKCS #11 support, with Gcrypt
1.9.4, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.43.0, with
brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.12, with libsmi
0.4.8, with QtMultimedia, without automatic updates, with SpeexDSP (using system
library), without Minizip.
Running on Linux 5.14.0-2-amd64, with Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
(with SSE4.2), with 15950 MB of physical memory, with GLib 2.70.1, with PCRE2
10.39 2021-10-29, with zlib 1.2.11, with Qt 5.15.2, with libpcap 1.10.1 (with
TPACKET_V3), with c-ares 1.18.1, with GnuTLS 3.7.2, with Gcrypt 1.9.4, with
nghttp2 1.43.0, with brotli 1.0.9, with LZ4 1.9.3, with Zstandard 1.4.8, with
libsmi 0.4.8, with light display mode, without HiDPI, with LC_TYPE=en_US.UTF-8,
binary plugins supported (20 loaded).