Skip to content

Commit

Permalink
don't ask quit confirmation if thumbnail is open (see issue #653)
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Dec 13, 2024
1 parent 083a2e2 commit e63c5a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gui/sniffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,10 @@ impl Sniffer {
{
self.update(Message::Quit)
} else if self.thumbnail {
self.update(Message::ToggleThumbnail(false))
.chain(self.update(Message::ShowModal(MyModal::Quit)))
// TODO: uncomment once issue #653 is fixed
// self.update(Message::ToggleThumbnail(false))
// .chain(self.update(Message::ShowModal(MyModal::Quit)))
self.update(Message::Quit)
} else {
self.update(Message::HideModal)
.chain(self.update(Message::CloseSettings))
Expand Down

0 comments on commit e63c5a3

Please sign in to comment.