Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
fa3cdaa0
Commit
fa3cdaa0
authored
Mar 17, 2021
by
David Redondo
🏎
Browse files
Emit also dataChanged when sensor colors are changed
(cherry picked from commit
58d93955
)
parent
265337b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
sensors/SensorDataModel.cpp
View file @
fa3cdaa0
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment