Skip to content

Commit

Permalink
fix: Windows checkboxChecked edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere authored and electron-bot committed Jan 22, 2020
1 parent 442174d commit 640ff4a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shell/browser/ui/message_box_win.cc
Expand Up @@ -184,8 +184,7 @@ DialogResult ShowTaskDialogUTF16(NativeWindow* parent,
else
button_id = cancel_id;

return std::make_pair(button_id,
checkbox_checked ? verificationFlagChecked : false);
return std::make_pair(button_id, verificationFlagChecked);
}

DialogResult ShowTaskDialogUTF8(const MessageBoxSettings& settings) {
Expand Down

0 comments on commit 640ff4a

Please sign in to comment.