Skip to content

Commit 2c29a4e

Browse files
trop[bot]codebytere
authored andcommitted
fix: Windows checkboxChecked edge case (electron#21860)
Co-authored-by: Shelley Vohr <codebytere@github.com>
1 parent 04234f4 commit 2c29a4e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

shell/browser/ui/message_box_win.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,7 @@ DialogResult ShowTaskDialogUTF16(NativeWindow* parent,
184184
else
185185
button_id = cancel_id;
186186

187-
return std::make_pair(button_id,
188-
checkbox_checked ? verificationFlagChecked : false);
187+
return std::make_pair(button_id, verificationFlagChecked);
189188
}
190189

191190
DialogResult ShowTaskDialogUTF8(const MessageBoxSettings& settings) {

0 commit comments

Comments
 (0)