changeset 69:d341cb82bdaf

- fix small cosmetic bug where partially-applied indicator can erroneously show up when toggling a hunk off and back on.
author Mark Edgington <edgimar@gmail.com>
date Fri, 16 Jul 2010 01:11:43 +0200
parents 2710e45e7435
children ee79f51c9bb1
files crecord/chunk_selector.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/crecord/chunk_selector.py
+++ b/crecord/chunk_selector.py
@@ -303,6 +303,7 @@
                 # un-apply all its hunks
                 for hnk in item.hunks:
                     hnk.applied = False
+                    hnk.partial = False
                     # un-apply all their HunkLines
                     for hunkLine in hnk.changedLines:
                         hunkLine.applied = False