Fix #1860 - Files Tab TypeError (could not parse subscript as a tree path)
This commit is contained in:
parent
82712c80e1
commit
dd78a75ca8
|
@ -441,9 +441,8 @@ class FilesTab(Tab):
|
||||||
"""
|
"""
|
||||||
Go through the tree and update the folder complete percentages.
|
Go through the tree and update the folder complete percentages.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
root = self.treestore.get_iter_root()
|
root = self.treestore.get_iter_root()
|
||||||
if self.treestore[root][5] != -1:
|
if root is None or self.treestore[root][5] != -1:
|
||||||
return
|
return
|
||||||
|
|
||||||
def get_completed_bytes(row):
|
def get_completed_bytes(row):
|
||||||
|
|
Loading…
Reference in New Issue