Fix incorrect sensor selection due to reorder sensors in SensorListWidget
This commit is contained in:
parent
271330d5fd
commit
0c5603ca44
7 changed files with 47 additions and 15 deletions
|
|
@ -46,5 +46,5 @@ void PolynomalActorWidget::setPow()
|
|||
|
||||
void PolynomalActorWidget::setSensor(const QModelIndex &index)
|
||||
{
|
||||
actor_->setSensor(sensors_->getSensors()->at(index.row()));
|
||||
actor_->setSensor(ui->listView->getSensorForIndex(index));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue