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 @@ -251,18 +251,18 @@ private void ApplyScaling()
251
251
/// </summary>
252
252
private static void UpdateItemHighlightFont ( ShortcutListItem item )
253
253
{
254
- item . ForeColor = item . Conflicts == null ? SystemColors . ControlText : Color . DarkRed ;
255
- item . SubItems [ 1 ] . ForeColor = item . KeysString == "None" ? SystemColors . GrayText : SystemColors . ControlText ;
256
- if ( item . IsModified )
254
+ if ( item . Conflicts == null )
257
255
{
258
- item . Font = new Font ( Globals . Settings . DefaultFont , FontStyle . Bold ) ;
259
- item . UseItemStyleForSubItems = true ;
256
+ item . ForeColor = SystemColors . ControlText ;
257
+ item . SubItems [ 1 ] . ForeColor = item . Custom == Keys . None ? SystemColors . GrayText : SystemColors . ControlText ;
260
258
}
261
259
else
262
260
{
263
- item . Font = new Font ( Globals . Settings . DefaultFont , FontStyle . Regular ) ;
264
- item . UseItemStyleForSubItems = false ;
261
+ item . ForeColor = Color . DarkRed ;
262
+ item . SubItems [ 1 ] . ForeColor = Color . DarkRed ;
265
263
}
264
+ item . Font = new Font ( Globals . Settings . DefaultFont , item . IsModified ? FontStyle . Bold : FontStyle . Regular ) ;
265
+ item . UseItemStyleForSubItems = item . IsModified ;
266
266
}
267
267
268
268
/// <summary>
You can’t perform that action at this time.
0 commit comments