mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-07-08 04:14:50 -04:00
Add display name fields to controller and zone instead of editing the existing name field
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user