Changeset 489cddd65ca8…
Parent 0c3cd84a2168…
by
Changes to one file · Browse files at 489cddd65ca8 Showing diff from parent 0c3cd84a2168 Diff from another changeset...
@@ -247,6 +247,8 @@ 'I': 'status.ignored',
'C': 'status.clean',
'S': 'status.subrepo',
+ 'r': 'resolve.resolved',
+ 'u': 'resolve.unresolved',
}
colors = {}
@@ -306,7 +308,10 @@
checked, status, mst, upath, path = self.rows[index.row()]
if role == Qt.TextColorRole:
- return colors.get(status, QColor('black'))
+ if mst:
+ return colors.get(mst.lower(), QColor('black'))
+ else:
+ return colors.get(status, QColor('black'))
elif role == Qt.ToolTipRole:
if status in tips:
tip = tips[status] % upath
|
Loading...