Skip to content

Commit c4f272e

Browse files
authored
fix: pass safeDialogs preference properly (electron#22353)
1 parent 79270e3 commit c4f272e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

shell/browser/electron_javascript_dialog_manager.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ void ElectronJavaScriptDialogManager::RunJavaScriptDialog(
9393

9494
electron::MessageBoxSettings settings;
9595
settings.parent_window = window;
96+
settings.checkbox_label = checkbox;
9697
settings.buttons = buttons;
9798
settings.default_id = default_id;
9899
settings.cancel_id = cancel_id;

0 commit comments

Comments
 (0)