Skip to content

Commit

Permalink
Fix crash due to not handling dialog window close event (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomShift authored Nov 28, 2024
1 parent 7c99656 commit 81e0dd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/gtk3/message_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ impl AsyncMessageDialogImpl for MessageDialog {
gtk_sys::GTK_RESPONSE_CANCEL => MessageDialogResult::Cancel,
gtk_sys::GTK_RESPONSE_YES => MessageDialogResult::Yes,
gtk_sys::GTK_RESPONSE_NO => MessageDialogResult::No,
gtk_sys::GTK_RESPONSE_DELETE_EVENT => MessageDialogResult::Cancel,
_ => unreachable!(),
});
Box::pin(future)
Expand Down

1 comment on commit 81e0dd3

@ninjadev64
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @PolyMeilex, it would be great if you could publish a release with this commit included

Please sign in to comment.