Add display name fields to controller and zone instead of editing the existing name field

This commit is contained in:
Adam Honse committed 2026-07-07 01:35:35 -05:00
1 parent 9182d1e566
commit e69c9eedae
17 files changed
+309 -178

No files matched your search

@@ -41,7 +41,7 @@ OpenRGBDeviceEditorDialog::OpenRGBDeviceEditorDialog(RGBController *dev, QWidget
\*-----------------------------------------------------*/
QString currentTitle = windowTitle();
QString newTitle = currentTitle + " - " + QString::fromStdString(edit_dev->GetName());
QString newTitle = currentTitle + " - " + QString::fromStdString(edit_dev->GetDisplayName());
setWindowTitle(newTitle);
@@ -49,7 +49,7 @@ OpenRGBDeviceEditorDialog::OpenRGBDeviceEditorDialog(RGBController *dev, QWidget
| Initialize device name |
\*-----------------------------------------------------*/
ui->LineEditDeviceName->blockSignals(true);
ui->LineEditDeviceName->setText(QString::fromStdString(dev->GetName()));
ui->LineEditDeviceName->setText(QString::fromStdString(dev->GetDisplayName()));
ui->LineEditDeviceName->blockSignals(false);
if((edit_flags & CONTROLLER_FLAG_MANUALLY_CONFIGURABLE_NAME) == 0)