Skip to content

Commit

Permalink
backend/cocoa: Call orderOut instead of release to close the dialog
Browse files Browse the repository at this point in the history
I hope this works if it doesn't don't blame me I'm just trying to help
  • Loading branch information
tseli0s committed Nov 7, 2023
1 parent 3ab5cd2 commit 3c7cceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/cocoa/nvdialog_dialog_box.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
void nvd_show_dialog_cocoa(NvdDialogBox *dialog)
{
[dialog->window_handle runModal];
[dialog->window_handle release];
[dialog->window_handle orderOut];
}

void *nvd_dialog_box_get_raw_cocoa(NvdDialogBox *dlg)
Expand Down

0 comments on commit 3c7cceb

Please sign in to comment.