Qt: Check for no tvb in Show Packet Bytes
Bug: 13723 Change-Id: I145fe93fc05a9cfdc6c0fc949274a1e88dcf2f1e Reviewed-on: https://code.wireshark.org/review/21709 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
This commit is contained in:
parent
b2923e9313
commit
4424a8e862
|
@ -496,6 +496,9 @@ void ShowPacketBytesDialog::updateFieldBytes(bool initialization)
|
|||
int length = end_ - start_;
|
||||
const guint8 *bytes;
|
||||
|
||||
if (!finfo_->ds_tvb)
|
||||
return;
|
||||
|
||||
switch (decode_as_) {
|
||||
|
||||
case DecodeAsNone:
|
||||
|
|
Loading…
Reference in New Issue