Resolve "Bug: VoidGenerator does not work" #79
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
public class VoidGenerator : IGenerator
|
public class VoidGenerator : IGenerator
|
||||||
{
|
{
|
||||||
public Task GenerateAsync() => Task.CompletedTask;
|
public Task<ProcessorResult<long>> GenerateAsync() => Task.FromResult(new ProcessorResult<long>(0));
|
||||||
}
|
}
|
@ -10,7 +10,7 @@ namespace UI_WinForms.Components;
|
|||||||
public partial class SectionTree : UserControl
|
public partial class SectionTree : UserControl
|
||||||
{
|
{
|
||||||
private static readonly Dictionary<TreeNode, EventHandler<DataModel.Database.Translation?>?> NODE_PROGRESS_HANDLERS = new();
|
private static readonly Dictionary<TreeNode, EventHandler<DataModel.Database.Translation?>?> NODE_PROGRESS_HANDLERS = new();
|
||||||
private readonly Timer generatorTimer;
|
private readonly Timer generatorTimer = null!;
|
||||||
|
|
||||||
public SectionTree()
|
public SectionTree()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user