Implemented deferred entry manipulation

This commit is contained in:
2025-01-28 18:10:56 +01:00
parent 5a342e2c53
commit fecbc0717b
9 changed files with 83 additions and 37 deletions

View File

@@ -246,12 +246,7 @@
var result = await panel.Result;
var data = result.Data as EditorDialogData;
if (result.Cancelled) {
if (data?.CurrentObject is not null)
await _manager!.RevertChanges(data.CurrentObject);
await Reload();
return;
}
if (result.Cancelled) return;
if (element is null)
await _manager!.AddItem(data!.CurrentObject!);