mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: Windows checkboxChecked edge case (#21852)
This commit is contained in:
@@ -183,8 +183,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