remember the last used section
commit0f6f1bfbd9648761999d773e1259bac6646eeb31
authorMichael Zanetti <michael.zanetti@canonical.com>
dateMon 14 Nov 2016, 17:35 (10 years ago)
parent390b5bc
qml/Launcher/Drawer.qml+5
@@ -19,6 +19,7 @@ import Ubuntu.Components 1.3
1919import Unity.Launcher 0.1
2020import Utils 0.1
2121import "../Components"
22+import Qt.labs.settings 1.0
2223
2324FocusScope {
2425 id: root
@@ -37,6 +38,10 @@ FocusScope {
3738 }
3839 }
3940
41+ Settings {
42+ property alias selectedTab: sections.selectedIndex
43+ }
44+
4045 Rectangle {
4146 anchors.fill: parent
4247 color: "#BF000000"