use save method if new (and existing) created entry has unsaved

changes
This commit is contained in:
farnbacher
2021-02-09 21:36:19 +01:00
committed by Jonathan White
parent af55d1b1b3
commit 75e4329c80

View File

@@ -250,8 +250,8 @@ void EditGroupWidget::cancel()
return;
}
if (result == MessageBox::Save) {
apply();
setModified(false);
save();
return;
}
}