fix: pass noLink correctly on Windows (#21386)
This commit is contained in:
parent
93802a7e6f
commit
9e189eac71
4 changed files with 11 additions and 16 deletions
|
@ -25,11 +25,6 @@ enum class MessageBoxType {
|
|||
kQuestion,
|
||||
};
|
||||
|
||||
enum MessageBoxOptions {
|
||||
MESSAGE_BOX_NONE = 0,
|
||||
MESSAGE_BOX_NO_LINK = 1 << 0,
|
||||
};
|
||||
|
||||
using DialogResult = std::pair<int, bool>;
|
||||
|
||||
struct MessageBoxSettings {
|
||||
|
@ -38,7 +33,7 @@ struct MessageBoxSettings {
|
|||
std::vector<std::string> buttons;
|
||||
int default_id;
|
||||
int cancel_id;
|
||||
int options = electron::MessageBoxOptions::MESSAGE_BOX_NONE;
|
||||
bool no_link = false;
|
||||
std::string title;
|
||||
std::string message;
|
||||
std::string detail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue