Change to expand the tree

This commit is contained in:
Thorsten Sommer 2022-07-09 22:23:10 +02:00
parent 271ae2a1cf
commit 57a7568dbb
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -1,5 +1,4 @@
using DataModel.Database; using DataModel.Database.Common;
using DataModel.Database.Common;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Processor; using Processor;
using UI_WinForms.Dialogs; using UI_WinForms.Dialogs;
@ -106,6 +105,9 @@ public partial class SectionTree : UserControl
foreach (var node in missingParents) foreach (var node in missingParents)
rootMissedParents.Nodes.Add(node); rootMissedParents.Nodes.Add(node);
} }
// Expand the tree:
this.treeView.ExpandAll();
} }
private async void buttonAdd_Click(object sender, EventArgs e) private async void buttonAdd_Click(object sender, EventArgs e)