Fixed a bug that prevented the first selection on a dimension to come from a
dataset.
This commit is contained in:
parent
a5955f9b59
commit
5800e7e362
|
@ -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:
|
||||||
|
|
Reference in New Issue