From a08e9b4eeadd3678845927de05911893fac00fcd Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 27 Jul 2017 11:27:20 -0600 Subject: Include all views in the button group --- components/kube/contents/ui/Kube.qml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'components') diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 396a3655..c4058a30 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml @@ -109,6 +109,8 @@ Controls2.ApplicationWindow { opacity: 0.3 } + Controls2.ButtonGroup { id: viewButtonGroup } + Column { anchors { top: parent.top @@ -135,7 +137,7 @@ Controls2.ApplicationWindow { onClicked: kubeViews.openComposer(false) activeFocusOnTab: true checkable: true - autoExclusive: true + Controls2.ButtonGroup.group: viewButtonGroup Kube.ToolTip { text: qsTr("composer") @@ -149,7 +151,7 @@ Controls2.ApplicationWindow { activeFocusOnTab: true checkable: true checked: true - autoExclusive: true + Controls2.ButtonGroup.group: viewButtonGroup Kube.ToolTip { text: qsTr("mails") @@ -162,7 +164,7 @@ Controls2.ApplicationWindow { onClicked: kubeViews.setPeopleView() activeFocusOnTab: true checkable: true - autoExclusive: true + Controls2.ButtonGroup.group: viewButtonGroup Kube.ToolTip { text: qsTr("people") @@ -191,6 +193,9 @@ Controls2.ApplicationWindow { Kube.IconButton { iconName: Kube.Icons.error_inverted onClicked: kubeViews.setLogView() + activeFocusOnTab: true + checkable: true + Controls2.ButtonGroup.group: viewButtonGroup Kube.ToolTip { text: qsTr("logview") @@ -201,6 +206,9 @@ Controls2.ApplicationWindow { Kube.IconButton { iconName: Kube.Icons.menu_inverted onClicked: kubeViews.setAccountsView() + activeFocusOnTab: true + checkable: true + Controls2.ButtonGroup.group: viewButtonGroup Kube.ToolTip { text: qsTr("settings") -- cgit v1.2.3