Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Use name of data in navigator.

This commit is contained in:
Truls Alexander Tangstad 2006-04-21 14:30:10 +00:00
parent f3a65a3c4f
commit 95eb78bf0d
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Project:
for d in data: for d in data:
if isinstance(d, dataset.Dataset): if isinstance(d, dataset.Dataset):
self.add_dataset(d) 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): elif isinstance(d, plots.Plot):
# self.add_view(d) # self.add_view(d)
self.data_tree_insert(None, 'view', d) self.data_tree_insert(None, 'view', d)