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

View File

@ -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)