Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/PlasmoidPopupsContainer.qml
Show All 37 Lines | 37 | if (activeApplet != null) { | |||
---|---|---|---|---|---|
38 | //reset any potential anchor | 38 | //reset any potential anchor | ||
39 | activeApplet.fullRepresentationItem.anchors.left = undefined; | 39 | activeApplet.fullRepresentationItem.anchors.left = undefined; | ||
40 | activeApplet.fullRepresentationItem.anchors.top = undefined; | 40 | activeApplet.fullRepresentationItem.anchors.top = undefined; | ||
41 | activeApplet.fullRepresentationItem.anchors.right = undefined; | 41 | activeApplet.fullRepresentationItem.anchors.right = undefined; | ||
42 | activeApplet.fullRepresentationItem.anchors.bottom = undefined; | 42 | activeApplet.fullRepresentationItem.anchors.bottom = undefined; | ||
43 | activeApplet.fullRepresentationItem.anchors.centerIn = undefined; | 43 | activeApplet.fullRepresentationItem.anchors.centerIn = undefined; | ||
44 | activeApplet.fullRepresentationItem.anchors.fill = undefined; | 44 | activeApplet.fullRepresentationItem.anchors.fill = undefined; | ||
45 | 45 | | |||
46 | | ||||
47 | mainStack.replace({item: activeApplet.fullRepresentationItem, immediate: !dialog.visible, properties: {focus: true}}); | 46 | mainStack.replace({item: activeApplet.fullRepresentationItem, immediate: !dialog.visible, properties: {focus: true}}); | ||
48 | } else { | 47 | } else { | ||
49 | mainStack.replace(emptyPage); | 48 | mainStack.replace(emptyPage); | ||
50 | } | 49 | } | ||
51 | } | 50 | } | ||
52 | Connections { | 51 | Connections { | ||
53 | target: plasmoid | 52 | target: plasmoid | ||
54 | onAppletRemoved: { | 53 | onAppletRemoved: { | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |