summaryrefslogtreecommitdiff
path: root/modules/controlcenter/Session.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/controlcenter/Session.qml')
-rw-r--r--modules/controlcenter/Session.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/controlcenter/Session.qml b/modules/controlcenter/Session.qml
index e77cd34..8a8545f 100644
--- a/modules/controlcenter/Session.qml
+++ b/modules/controlcenter/Session.qml
@@ -18,5 +18,6 @@ QtObject {
readonly property VpnState vpn: VpnState {}
onActiveChanged: activeIndex = Math.max(0, panes.indexOf(active))
- onActiveIndexChanged: if (panes[activeIndex]) active = panes[activeIndex]
+ onActiveIndexChanged: if (panes[activeIndex])
+ active = panes[activeIndex]
}