Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Size of current selection is now updated in details

This commit is contained in:
Arnar Flatberg 2007-02-23 11:12:03 +00:00
parent 41e8ed511b
commit a614908436
1 changed files with 5 additions and 0 deletions

View File

@ -239,6 +239,11 @@ class SelectionListController:
n = len(selection[dim])
values = (selection.title, selection, dim, n, n, 0)
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):
dim_name = dataset.get_dim_name(0)