Qt: Fix bits highlighting in the byte view.
authorGerald Combs <gerald@wireshark.org>
Wed, 17 Jan 2018 18:32:11 +0000 (10:32 -0800)
committerAnders Broman <a.broman58@gmail.com>
Thu, 18 Jan 2018 05:20:01 +0000 (05:20 +0000)
commit0bb501a6554bd54540abada98936d1f5ce8ae4c1
treef7dbec80ab866ef3142cfa52db2fcb5053408d07
parent0aad2bbc360d8a3ad7b610067c9f04ab0f681b91
Qt: Fix bits highlighting in the byte view.

When the byte view is set to "Show bytes as bits" make sure we highlight
all eight bits instead of just two.

Change-Id: I1ece65032fa32f7274f4e7383e538b92e8fa4f65
Reviewed-on: https://code.wireshark.org/review/25354
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
ui/qt/widgets/byte_view_text.cpp