PlasmoidItem fix

This commit is contained in:
Sam Hadow 2024-03-13 01:02:08 +01:00
parent a44cbe1bfa
commit 4177681d46

View File

@ -40,10 +40,10 @@ PlasmoidItem {
|| plasmoid.location === PlasmaCore.Types.LeftEdge)
readonly property bool vertical: (plasmoid.formFactor === PlasmaCore.Types.Vertical)
Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20
Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30
switchWidth: Kirigami.Units.gridUnit * 20
switchHeight: Kirigami.Units.gridUnit * 30
fullRepresentation: FullRepresentation {}
Plasmoid.icon: plasmoid.configuration.icon
@ -139,8 +139,8 @@ PlasmoidItem {
}
Component.onCompleted: {
if (plasmoid.hasOwnProperty("activationTogglesExpanded")) {
plasmoid.activationTogglesExpanded = true
if (hasOwnProperty("activationTogglesExpanded")) {
activationTogglesExpanded = true
}
if (plasmoid.immutability !== PlasmaCore.Types.SystemImmutable) {
plasmoid.setAction("menuedit", i18n("Edit Applications..."), "kmenuedit");