mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:06:30 +00:00
huge queue refactoring:
3 queues -> 1 queue send delete validate updates
This commit is contained in:
@@ -243,9 +243,9 @@ public partial class Annotator
|
||||
return;
|
||||
|
||||
var res = DgAnnotations.SelectedItems.Cast<AnnotationResult>().ToList();
|
||||
var annotations = res.Select(x => x.Annotation).ToList();
|
||||
var annotationNames = res.Select(x => x.Annotation.Name).ToList();
|
||||
|
||||
await _mediator.Publish(new AnnotationsDeletedEvent(annotations));
|
||||
await _mediator.Publish(new AnnotationsDeletedEvent(annotationNames));
|
||||
break;
|
||||
}
|
||||
};
|
||||
@@ -555,6 +555,7 @@ public partial class Annotator
|
||||
|
||||
LvFiles.Items.Refresh();
|
||||
IsInferenceNow = false;
|
||||
StatusHelp.Text = "Розпізнавання зваершено";
|
||||
AIDetectBtn.IsEnabled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user