remove columns in TreeModel along with TreeView instead of in separate areas
This commit is contained in:
parent
6c1bee7f62
commit
1b28f8603d
@ -836,6 +836,7 @@ namespace UniversalEditor.Editors.FileSystem
|
||||
|
||||
for (int i = DELIVERED_COLUMNS_COUNT; i < tv.Columns.Count; i++)
|
||||
{
|
||||
tm.Columns.RemoveAt(i);
|
||||
tv.Columns.Remove(tv.Columns[i]);
|
||||
}
|
||||
for (int i = 0; i < fsom.AdditionalDetails.Count; i++)
|
||||
@ -982,11 +983,6 @@ namespace UniversalEditor.Editors.FileSystem
|
||||
|
||||
if (!IsCreated) return;
|
||||
|
||||
for (int i = DELIVERED_COLUMNS_COUNT; i < tm.Columns.Count; i++)
|
||||
{
|
||||
tm.Columns.RemoveAt(i);
|
||||
}
|
||||
|
||||
FileSystemObjectModel fsom = (ObjectModel as FileSystemObjectModel);
|
||||
if (fsom == null) return;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user