1 parent 67b444a commit 3a578b6Copy full SHA for 3a578b6
1 file changed
src/ui/components/extra_fields.rs
@@ -579,6 +579,7 @@ pub fn update(
579
if removing_last {
580
if let Some(g) = model.groups.get_mut(idx) {
581
g.name = "Default".into();
582
+ // Field group_ids remain unchanged since we're renaming, not removing
583
for f in model.fields.iter_mut() {
584
if f.group_id == Some(group.id) {
585
f.group_id = Some(g.id);
0 commit comments