Changeset f6d8076f2a45…
Parent b43d92124781…
by
Changes to one file · Browse files at f6d8076f2a45 Showing diff from parent b43d92124781 Diff from another changeset...
@@ -618,7 +618,7 @@
def _update_chunk_state(self, entry):
'''Update chunk toggle state to match file toggle state'''
- file = entry[FM_PATH]
+ file = util.pconvert(entry[FM_PATH])
if file not in self._filechunks: return
entry[FM_PARTIAL_SELECTED] = False
self._update_partial(self.diff_model, file, False)
@@ -809,7 +809,7 @@ if not sel:
self._last_file = None
return False
- file = self.filemodel[sel[0]][FM_PATH_UTF8]
+ file = util.pconvert(self.filemodel[sel[0]][FM_PATH])
if force or file != self._last_file:
self._last_file = file
if file in self._filechunks:
@@ -828,7 +828,7 @@ if file not in self._filechunks:
return
for fr in self.filemodel:
- if fr[FM_PATH] == file:
+ if util.pconvert(fr[FM_PATH]) == file:
break
fchunks = self._filechunks[file][1:]
if row[DM_HEADER_CHUNK]:
|
Loading...