mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: Windows checkboxChecked edge case (#21860)
Co-authored-by: Shelley Vohr <codebytere@github.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user