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

View File

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