diff options
Diffstat (limited to 'ui/qt/packet_range_group_box.cpp')
-rw-r--r-- | ui/qt/packet_range_group_box.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ui/qt/packet_range_group_box.cpp b/ui/qt/packet_range_group_box.cpp index a7ceefbea6..9e746d3524 100644 --- a/ui/qt/packet_range_group_box.cpp +++ b/ui/qt/packet_range_group_box.cpp @@ -322,10 +322,22 @@ void PacketRangeGroupBox::on_rangeButton_toggled(bool checked) void PacketRangeGroupBox::on_capturedButton_toggled(bool checked) { - if (checked) updateCounts(); + if (checked) { + if (range_) range_->process_filtered = FALSE; + updateCounts(); + } } void PacketRangeGroupBox::on_displayedButton_toggled(bool checked) { - if (checked) updateCounts(); + if (checked) { + if (range_) range_->process_filtered = TRUE; + updateCounts(); + } +} + +void PacketRangeGroupBox::on_ignoredCheckBox_toggled(bool checked) +{ + if (range_) range_->remove_ignored = checked ? TRUE : FALSE; + updateCounts(); } |