Qt (ByteView): update preference on hover state change; WSUG typo

This commit is contained in:
Chuck Craft 2021-11-16 15:38:05 -06:00 committed by Wireshark GitLab Utility
parent f9be0f0c8c
commit f748c91bb2
2 changed files with 5 additions and 3 deletions

View File

@ -1048,14 +1048,15 @@ source by clicking its corresponding tab at the bottom of the pane.
The default mode for viewing will highlight the bytes for a field where the
mouse pointer is hovering above. The highlight will follow the mouse cursor
as it moves. If this higlighting is not required or wanted, there are two
methods for deactrivating the functionality:
as it moves. If this highlighting is not required or wanted, there are two
methods for deactivating the functionality:
* *Temporary* By holding down the Ctrl button while moving the mouse, the
highlighted field will not change
* *Permanently* Using the context menu (right mouse click) the hover selection
may be activated/deactived. This setting is stored in the selected profile.
may be activated/deactivated. This setting is stored in the selected profile
__recent__ file.
[[ChUseWiresharkBytesPaneTabs]]
.The “Packet Bytes” pane with tabs

View File

@ -130,6 +130,7 @@ void ByteViewText::createContextMenu()
void ByteViewText::toggleHoverAllowed(bool checked)
{
allow_hover_selection_ = ! checked;
recent.gui_allow_hover_selection = checked;
}
void ByteViewText::updateContextMenu()