Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Fixed a bug that prevented the first selection on a dimension to come from a

dataset.
This commit is contained in:
Einar Ryeng 2007-02-21 11:49:43 +00:00
parent a5955f9b59
commit 5800e7e362
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ class SelectionListController:
store.insert_after(None, None, values) store.insert_after(None, None, values)
def add_dataset(self, dataset): def add_dataset(self, dataset):
self._ensure_selection_store(dataset.get_dim_name(0))
store = self._sel_stores[dataset.get_dim_name(0)] store = self._sel_stores[dataset.get_dim_name(0)]
di = self._get_dataset_iter(dataset) di = self._get_dataset_iter(dataset)
if not di: if not di: