popouts: unload when hidden
This commit is contained in:
parent
a23bb48c24
commit
de82d391be
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ Item {
|
|||
|
||||
Popout {
|
||||
name: "network"
|
||||
source: "Network.qml"
|
||||
sourceComponent: Network {}
|
||||
}
|
||||
|
||||
Popout {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue