Allow propagation of sensor updates from secondary to main

This commit is contained in:
Carl Philipp Klemm 2026-04-27 00:27:56 +02:00
parent da50a89866
commit 34f129967b
7 changed files with 45 additions and 8 deletions

View file

@ -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())
{