fix warnings,closing Latte with custom indicators

pull/5/head
Michail Vourlakos 6 years ago
parent 834bb56194
commit 82480e6079

@ -51,7 +51,9 @@ LatteComponents.IndicatorItem{
readonly property bool reversedEnabled: indicator && indicator.general ? indicator.general.reversed : false
//! Configuration Options
readonly property bool configurationEnabled: (indicator!==null) && (indicator.configuration !== null)
readonly property bool configurationEnabled: (indicator!==null)
&& (indicator.configuration !== null)
&& (indicator.configuration.glow3D !== undefined)
readonly property bool extraDotOnActive: configurationEnabled ? indicator.configuration.extraDotOnActive : true
readonly property bool minimizedTaskColoredDifferently: configurationEnabled ? indicator.configuration.minimizedTaskColoredDifferently : false

@ -288,10 +288,11 @@ Item {
color: "white"
} */
onLatteViewChanged: {
if (latteView)
if (latteView) {
plasmoid.configuration.isInLatteDock = true;
else
} else {
plasmoid.configuration.isInLatteDock = false;
}
}

Loading…
Cancel
Save