by
Changes to one file · Browse files at 5901b9c88cc1 Showing diff from parent 2c39352a6884 b331d227419d 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...