[pc3/busyindicator] Hide when not running

Summary: When not running the indicator should be invisible. This matches the behaviour of the org.kde.desktop style.

Test Plan: Run KTrip with Plasma style. Open location search page. Indicator is only shown when actually loading things

Reviewers: #plasma, ngraham

Reviewed By: ngraham

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D28391
This commit is contained in:
Nicolas Fella 2020-03-29 00:43:52 +01:00
parent b7e88d2a11
commit bc3ccd1782

View File

@ -32,6 +32,7 @@ T.BusyIndicator {
contentItem: PlasmaCore.SvgItem {
id: indicatorItem
visible: control.running
svg: PlasmaCore.Svg {
imagePath: "widgets/busywidget"
colorGroup: PlasmaCore.ColorScope.colorGroup