Ui: formating change
This commit is contained in:
parent
6fd04eca01
commit
f2b2e8f0a0
1 changed files with 0 additions and 2 deletions
|
|
@ -15,9 +15,7 @@ SensorSettingsDialog::SensorSettingsDialog(const Sensor& sensor, QWidget* parent
|
||||||
// Populate group dropdown with existing groups
|
// Populate group dropdown with existing groups
|
||||||
std::vector<QString> groups = globalSensors.allGroups();
|
std::vector<QString> groups = globalSensors.allGroups();
|
||||||
for(const QString& group : groups)
|
for(const QString& group : groups)
|
||||||
{
|
|
||||||
ui->comboBox_Group->addItem(group);
|
ui->comboBox_Group->addItem(group);
|
||||||
}
|
|
||||||
// Set current group (will be empty string if no group)
|
// Set current group (will be empty string if no group)
|
||||||
ui->comboBox_Group->setCurrentText(sensor.groupName);
|
ui->comboBox_Group->setCurrentText(sensor.groupName);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue