TabToTreeView change

This commit is contained in:
Jaex 2014-12-06 16:10:24 +02:00
parent 83f803adcf
commit af334fb3e0

View file

@ -86,7 +86,7 @@ private void FillTreeView(TreeNodeCollection nodeCollection, TabControl tab, Tre
{
foreach (TabPage tabPage in tab.TabPages)
{
if (parent != null && tabPage.Text == "{Parent}")
if (parent != null && string.IsNullOrEmpty(tabPage.Text))
{
parent.Tag = tabPage;
continue;