Use name of data in navigator.
This commit is contained in:
parent
f3a65a3c4f
commit
95eb78bf0d
|
@ -54,7 +54,7 @@ class Project:
|
|||
for d in data:
|
||||
if isinstance(d, dataset.Dataset):
|
||||
self.add_dataset(d)
|
||||
self.data_tree_insert(None, 'data', d)
|
||||
self.data_tree_insert(None, d.get_name(), d)
|
||||
elif isinstance(d, plots.Plot):
|
||||
# self.add_view(d)
|
||||
self.data_tree_insert(None, 'view', d)
|
||||
|
|
Reference in New Issue