Verified Commit fe34143b authored by ivan tkachenko's avatar ivan tkachenko
Browse files

applets/batterymonitor: Revert matchHeightOfSlider expression to avoid null property access

It didn't need to change. It was fine this whole time.
parent fe9f6649
......@@ -189,7 +189,7 @@ PlasmaExtras.Representation {
battery: model
remainingTime: dialog.remainingTime
matchHeightOfSlider: batteryList.firstHeaderItem ? batteryList.firstHeaderItem.slider : null
matchHeightOfSlider: brightnessSlider.slider
KeyNavigation.up: index === 0 ? batteryList.lastHeaderItem : batteryRepeater.itemAt(index - 1)
KeyNavigation.down: index + 1 < batteryRepeater.count ? batteryRepeater.itemAt(index + 1) : null
......
Supports Markdown
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