Size of current selection is now updated in details
This commit is contained in:
parent
41e8ed511b
commit
a614908436
|
@ -239,6 +239,11 @@ class SelectionListController:
|
||||||
n = len(selection[dim])
|
n = len(selection[dim])
|
||||||
values = (selection.title, selection, dim, n, n, 0)
|
values = (selection.title, selection, dim, n, n, 0)
|
||||||
store.insert_after(None, None, values)
|
store.insert_after(None, None, values)
|
||||||
|
else:
|
||||||
|
# update size of current selection
|
||||||
|
for row in store:
|
||||||
|
if row[1]==selection:
|
||||||
|
row[3] = row[4] = len(selection[dim])
|
||||||
|
|
||||||
def add_dataset(self, dataset):
|
def add_dataset(self, dataset):
|
||||||
dim_name = dataset.get_dim_name(0)
|
dim_name = dataset.get_dim_name(0)
|
||||||
|
|
Reference in New Issue