mirror of
https://github.com/aclist/dztui.git
synced 2026-11-07 10:30:40 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
cacfab35bf
commit
2d265c4b9b
19 files changed
+74
-44
No files matched your search
@@ -115,9 +115,12 @@ class FastInsertListStore(ListStore):
|
||||
For this reason, it is recommended to use the extend() method to insert
|
||||
an entire list of lists
|
||||
"""
|
||||
total = len(row)
|
||||
i = len(self)
|
||||
tree_iter = self.insert_with_values(i, tuple(range(total)), row)
|
||||
if row is not None:
|
||||
total = len(row)
|
||||
i = len(self)
|
||||
tree_iter = self.insert_with_values(i, tuple(range(total)), row)
|
||||
else:
|
||||
tree_iter = super().append(row)
|
||||
return tree_iter
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user