Commit fa3cdaa0 authored by David Redondo's avatar David Redondo 🏎
Browse files

Emit also dataChanged when sensor colors are changed


(cherry picked from commit 58d93955)
parent 265337b6
......@@ -292,6 +292,7 @@ void SensorDataModel::setSensorColors(const QVariantMap &sensorColors)
}
d->sensorColors = sensorColors;
Q_EMIT sensorColorsChanged();
Q_EMIT dataChanged(index(0,0), index(rowCount() - 1, columnCount() - 1), {Color});
}
bool KSysGuard::SensorDataModel::isReady() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment