Changeset b331d227419d…
Parent c769bbbf1af7…
by
Changes to one file · Browse files at b331d227419d Showing diff from parent c769bbbf1af7 Diff from another changeset...
@@ -699,12 +699,17 @@
self.auto_check() # may check more files
- # manually refresh partially selected files
for i, row in enumerate(model):
if row[FM_PARTIAL_SELECTED]:
+ # force refresh of partially selected files
self.update_hunk_model(i, self.filetree)
self.diffmodel.clear()
self.diffmodelfile = None
+ else:
+ # demand refresh of full or non selection
+ wfile = row[FM_PATH]
+ if wfile in self.filechunks:
+ del self.filechunks[wfile]
# recover selections
firstrow = None
|
Loading...