Allow propagation of sensor updates from secondary to main
This commit is contained in:
parent
da50a89866
commit
34f129967b
7 changed files with 45 additions and 8 deletions
|
|
@ -37,7 +37,7 @@ void SensorListWidget::onDoubleClick(QTreeWidgetItem *item, int column)
|
|||
{
|
||||
if(item && item->type() == 1001)
|
||||
{
|
||||
const Sensor& sensor = getSensorForIndex(currentIndex());
|
||||
const Sensor& sensor = static_cast<SensorListItem*>(item)->getSensor();
|
||||
SensorSettingsDialog diag(sensor, this);
|
||||
if(diag.exec())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue