fix default new rule
This commit is contained in:
parent
33f706928c
commit
e2869af4a7
2 changed files with 18 additions and 10 deletions
|
@ -186,7 +186,7 @@ impl eframe::App for UScope {
|
|||
}
|
||||
ui.separator();
|
||||
if ui.button("add rule").clicked() {
|
||||
self.dish.rules.push(Rule::default());
|
||||
self.dish.rules.push(Rule::new());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue