@@ -26,6 +26,7 @@ MainView {
26 readonly property int currentMenuIndex : tabs.selectedTabIndex
26 readonly property int currentMenuIndex : tabs.selectedTabIndex
27 backgroundColor: "#221e1c" // FIXME not in palette yet
27 backgroundColor: "#221e1c" // FIXME not in palette yet
28 property int contentReleaseInterval: 20000
28 property int contentReleaseInterval: 20000
29+ property bool activeHeader: false
30 width: units.gu(40)
31 width: units.gu(40)
31 height: units.gu(42)
32 height: units.gu(42)
@@ -37,7 +38,11 @@ MainView {
38 function setCurrentMenuIndex(index) {
39 function setCurrentMenuIndex(index) {
39 if (currentMenuIndex !== index) {
40 if (currentMenuIndex !== index) {
41+ if (currentMenuIndex == -1) {
42+ tabs.tabBar.animate = false;
40 tabs.selectedTabIndex = index;
44 tabs.selectedTabIndex = index;
45+ tabs.tabBar.animate = true;
@@ -52,6 +57,11 @@ MainView {
60+ onActiveHeaderChanged: {
61+ tabs.tabBar.active = activeHeader;
62+ tabs.tabBar.alwaysActive = activeHeader;
57 anchors.fill: parent
67 anchors.fill: parent