src/eric7/UI/Browser.py

branch
eric7
changeset 9278
36448ca469c2
parent 9221
bf71ee032bb4
child 9413
80c06d472826
equal deleted inserted replaced
9277:471c5a263d53 9278:36448ca469c2
834 an additional entry with key "sum", that stores the sum of 834 an additional entry with key "sum", that stores the sum of
835 all selected entries fulfilling the filter criteria. 835 all selected entries fulfilling the filter criteria.
836 """ 836 """
837 if filterList is None: 837 if filterList is None:
838 filterList = self.selectedItemsFilter 838 filterList = self.selectedItemsFilter
839 categories = {} 839 categories = {"sum": 0}
840 categories["sum"] = 0
841 for typ in filterList: 840 for typ in filterList:
842 categories[str(typ)] = 0 841 categories[str(typ)] = 0
843 842
844 indexes = self.selectedIndexes() 843 indexes = self.selectedIndexes()
845 for index in indexes: 844 for index in indexes:

eric ide

mercurial