Skip to content

Commit

Permalink
Update qfieldsync/gui/dirs_to_copy_widget.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Ivanov <suricactus@users.noreply.github.com>
  • Loading branch information
SeqLaz and suricactus committed Jul 14, 2024
1 parent fc09ea6 commit 009c984
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions qfieldsync/gui/dirs_to_copy_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ def set_checked_state(item: QTreeWidgetItem) -> None:
item.setCheckState(0, checked_state)

for i in range(item.childCount()):
child_item = item.child(i)
set_checked_state(child_item)
# print(i, checked_state)
set_checked_state(item.child(i))

set_checked_state(self.dirsTreeWidget.invisibleRootItem())

0 comments on commit 009c984

Please sign in to comment.