diff options
| -rw-r--r-- | modules/bar/popouts/Content.qml | 2 | ||||
| -rw-r--r-- | modules/bar/popouts/Network.qml | 2 | ||||
| -rw-r--r-- | modules/bar/popouts/Wrapper.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/bar/popouts/Content.qml b/modules/bar/popouts/Content.qml index 5b396a9..453611c 100644 --- a/modules/bar/popouts/Content.qml +++ b/modules/bar/popouts/Content.qml @@ -30,7 +30,7 @@ Item { Popout { name: "network" - source: "Network.qml" + sourceComponent: Network {} } Popout { diff --git a/modules/bar/popouts/Network.qml b/modules/bar/popouts/Network.qml index 5a2d472..80e1732 100644 --- a/modules/bar/popouts/Network.qml +++ b/modules/bar/popouts/Network.qml @@ -49,7 +49,7 @@ ColumnLayout { RowLayout { id: networkItem - required property var modelData + required property Network.AccessPoint modelData readonly property bool isConnecting: root.connectingToSsid === modelData.ssid readonly property bool loading: networkItem.isConnecting diff --git a/modules/bar/popouts/Wrapper.qml b/modules/bar/popouts/Wrapper.qml index 9a7f7c1..4ef7492 100644 --- a/modules/bar/popouts/Wrapper.qml +++ b/modules/bar/popouts/Wrapper.qml @@ -72,7 +72,7 @@ Item { Comp { id: content - shouldBeActive: !root.detachedMode + shouldBeActive: root.hasCurrent && !root.detachedMode asynchronous: true anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter |