File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -267,18 +267,18 @@ private void ApplyScaling()
267
267
/// </summary>
268
268
private static void UpdateItemHighlightFont ( ShortcutListItem item )
269
269
{
270
- item . ForeColor = item . Conflicts == null ? SystemColors . ControlText : Color . DarkRed ;
271
- item . SubItems [ 1 ] . ForeColor = item . KeysString == "None" ? SystemColors . GrayText : SystemColors . ControlText ;
272
- if ( item . IsModified )
270
+ if ( item . Conflicts == null )
273
271
{
274
- item . Font = new Font ( Globals . Settings . DefaultFont , FontStyle . Bold ) ;
275
- item . UseItemStyleForSubItems = true ;
272
+ item . ForeColor = SystemColors . ControlText ;
273
+ item . SubItems [ 1 ] . ForeColor = item . Custom == Keys . None ? SystemColors . GrayText : SystemColors . ControlText ;
276
274
}
277
275
else
278
276
{
279
- item . Font = new Font ( Globals . Settings . DefaultFont , FontStyle . Regular ) ;
280
- item . UseItemStyleForSubItems = false ;
277
+ item . ForeColor = Color . DarkRed ;
278
+ item . SubItems [ 1 ] . ForeColor = Color . DarkRed ;
281
279
}
280
+ item . Font = new Font ( Globals . Settings . DefaultFont , item . IsModified ? FontStyle . Bold : FontStyle . Regular ) ;
281
+ item . UseItemStyleForSubItems = item . IsModified ;
282
282
}
283
283
284
284
/// <summary>
You can’t perform that action at this time.
0 commit comments