Skip to content

Commit

Permalink
Merge pull request opengisch#3293 from opengisch/no_projects
Browse files Browse the repository at this point in the history
Give a hint that the projects list is empty
  • Loading branch information
m-kuhn authored Sep 5, 2022
2 parents e13e269 + 499bf47 commit 49dd2c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/qml/QFieldCloudScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,16 @@ Page {
}
}

Label {
anchors.fill: parent
horizontalAlignment: Qt.AlignHCenter
verticalAlignment: Qt.AlignVCenter
visible: parent.count == 0
text: qsTr("No projects found")
font: Theme.strongTipFont
color: Theme.gray
}

MouseArea {
property Item pressedItem
anchors.fill: parent
Expand Down

0 comments on commit 49dd2c6

Please sign in to comment.