Add a number as a label for LEDs that otherwise would be nameless in DeviceView
This commit is contained in:
parent
65623d3978
commit
f9c7df21f1
1 changed files with 4 additions and 0 deletions
|
|
@ -317,6 +317,10 @@ void DeviceView::setController(RGBController * controller_ptr)
|
|||
{
|
||||
led_labels[led_idx] = it->second.label_utf8;
|
||||
}
|
||||
else
|
||||
{
|
||||
led_labels[led_idx] = QString::number(led_idx);
|
||||
}
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue