Add number of slots in the rack heading (#1535)

This commit is contained in:
blitzmann
2018-05-19 17:55:17 -04:00
parent 155a3a4e42
commit cb509a832e
3 changed files with 8 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ class BaseName(ViewColumn):
if stuff.slot == Slot.MODE:
return '─ Tactical Mode ─'
else:
return '{} Slots ─'.format(Slot.getName(stuff.slot).capitalize())
return '{} Slots ({})'.format(Slot.getName(stuff.slot).capitalize(), stuff.num)
else:
return ""
elif isinstance(stuff, Module):