Skip to content

Commit c58f33c

Browse files
committed
minor fix
1 parent 100ac1a commit c58f33c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/gui/sniffer.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,18 +692,17 @@ impl Sniffer {
692692
if self.info_traffic.tot_data_info.tot_packets() == 0 {
693693
return;
694694
}
695-
self.traffic_chart.update_charts_data(&msg, no_more_packets);
696695
let emitted_notifications = notify_and_log(
697696
&mut self.logged_notifications,
698697
self.configs.settings.notifications,
699698
&msg,
700699
&self.favorite_hosts,
701700
&self.capture_source,
702701
);
703-
704702
if self.thumbnail || self.running_page.ne(&RunningPage::Notifications) {
705703
self.unread_notifications += emitted_notifications;
706704
}
705+
self.traffic_chart.update_charts_data(&msg, no_more_packets);
707706

708707
if let CaptureSource::Device(device) = &self.capture_source {
709708
let current_device_name = device.get_name().clone();

0 commit comments

Comments
 (0)