Show More
@@ -753,17 +753,12 b' class curseschunkselector(object):' | |||
|
753 | 753 | if isinstance(item, uiheader): |
|
754 | 754 | item.partial = False |
|
755 | 755 | if item.applied: |
|
756 | if not item.special(): | |
|
757 |
|
|
|
758 |
|
|
|
759 |
|
|
|
760 | # apply all their hunklines | |
|
761 |
|
|
|
762 | hunkline.applied = True | |
|
763 | else: | |
|
764 | # all children are off (but the header is on) | |
|
765 | if len(item.allchildren()) > 0: | |
|
766 | item.partial = True | |
|
756 | # apply all its hunks | |
|
757 | for hnk in item.hunks: | |
|
758 | hnk.applied = True | |
|
759 | # apply all their hunklines | |
|
760 | for hunkline in hnk.changedlines: | |
|
761 | hunkline.applied = True | |
|
767 | 762 | else: |
|
768 | 763 | # un-apply all its hunks |
|
769 | 764 | for hnk in item.hunks: |
General Comments 0
You need to be logged in to leave comments.
Login now