Minor feature added.
This commit is contained in:
@@ -29,7 +29,7 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if(page != null) {
|
if(page != null && stackView.currentItem != page) {
|
||||||
if(stackView.depth === 1) {
|
if(stackView.depth === 1) {
|
||||||
stackView.replace(page)
|
stackView.replace(page)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -71,8 +71,19 @@ Item {
|
|||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
padding: 0
|
padding: 0
|
||||||
|
|
||||||
background: Rectangle {
|
background: Item {
|
||||||
color: "#eaeaea"
|
anchors.fill: parent
|
||||||
|
Rectangle {
|
||||||
|
anchors.fill: parent
|
||||||
|
color: "#eaeaea"
|
||||||
|
}
|
||||||
|
|
||||||
|
Text {
|
||||||
|
z: 10
|
||||||
|
text: "Here? No, not here."
|
||||||
|
anchors.centerIn: parent
|
||||||
|
visible: listView.count === 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ListView {
|
ListView {
|
||||||
|
|||||||
Reference in New Issue
Block a user