summaryrefslogtreecommitdiffstats
path: root/framework/qml/InlineAccountSwitcher.qml
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:28:00 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-26 11:28:00 -0600
commit7e6bd8ff32aba63ec9a3006904106c5fa4614f1a (patch)
tree858d65bfa02ca829f212ad717ac6dd18d5d05f54 /framework/qml/InlineAccountSwitcher.qml
parentb3c05745d86ba7946acc1073746df6fae63f119d (diff)
downloadkube-7e6bd8ff32aba63ec9a3006904106c5fa4614f1a.tar.gz
kube-7e6bd8ff32aba63ec9a3006904106c5fa4614f1a.zip
Disable the non-current button
Diffstat (limited to 'framework/qml/InlineAccountSwitcher.qml')
-rw-r--r--framework/qml/InlineAccountSwitcher.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/qml/InlineAccountSwitcher.qml b/framework/qml/InlineAccountSwitcher.qml
index 15425c68..511c38db 100644
--- a/framework/qml/InlineAccountSwitcher.qml
+++ b/framework/qml/InlineAccountSwitcher.qml
@@ -66,6 +66,7 @@ FocusScope {
66 66
67 textColor: Kube.Colors.highlightedTextColor 67 textColor: Kube.Colors.highlightedTextColor
68 activeFocusOnTab: !isCurrent 68 activeFocusOnTab: !isCurrent
69 enabled: !isCurrent
69 onClicked: root.currentAccount = model.accountId 70 onClicked: root.currentAccount = model.accountId
70 text: model.name 71 text: model.name
71 font.weight: Font.Bold 72 font.weight: Font.Bold