fix: pass safeDialogs preference properly (#22353)
This commit is contained in:
parent
79270e30a6
commit
c4f272e28f
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ void ElectronJavaScriptDialogManager::RunJavaScriptDialog(
|
|||
|
||||
electron::MessageBoxSettings settings;
|
||||
settings.parent_window = window;
|
||||
settings.checkbox_label = checkbox;
|
||||
settings.buttons = buttons;
|
||||
settings.default_id = default_id;
|
||||
settings.cancel_id = cancel_id;
|
||||
|
|
Loading…
Add table
Reference in a new issue