Skip to content

Commit

Permalink
Fix crash due to not handling dialog window close event
Browse files Browse the repository at this point in the history
  • Loading branch information
PhantomShift committed Nov 27, 2024
1 parent 7c99656 commit b57ef2e
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

0 comments on commit b57ef2e

Please sign in to comment.