fix default new rule

This commit is contained in:
Crispy 2024-05-03 23:56:39 +02:00
parent 33f706928c
commit e2869af4a7
2 changed files with 18 additions and 10 deletions

View file

@ -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());
}
});
});