Skip to content

Commit 03331f4

Browse files
committed
fix: Default for MessageBoxButton
1 parent f864235 commit 03331f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ui/msgbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub enum MessageBoxStyle {
1616

1717
bitflags::bitflags! {
1818
/// The pre-defined message box buttons.
19-
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
19+
#[derive(Debug, Default, PartialEq, Eq, Clone, Copy)]
2020
pub struct MessageBoxButton: i32 {
2121
/// "Ok"
2222
const Ok = 1 << 0;

0 commit comments

Comments
 (0)