hide preset name when <unnamed> (matchin [preset] behavior)
This commit is contained in:
@@ -404,7 +404,7 @@ function format_slot_name(id) {
|
|||||||
text = '[' + text + ']';
|
text = '[' + text + ']';
|
||||||
}
|
}
|
||||||
// If slot has a name, append it to the preset name
|
// If slot has a name, append it to the preset name
|
||||||
if (slots[id].name != null) {
|
if ([null, '<(unnamed)>'].indexOf(slots[id].name) < 0 ) {
|
||||||
text += ': ' + slots[id].name;
|
text += ': ' + slots[id].name;
|
||||||
}
|
}
|
||||||
text = text.toString();
|
text = text.toString();
|
||||||
|
|||||||
Reference in New Issue
Block a user