Skip to content

Commit 2f6cd2e

Browse files
committed
Do not use rowCount, won't be reactive to model change
1 parent 45d271b commit 2f6cd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qml/QFieldCloudScreen.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Page {
4040
id: connectionInformation
4141
spacing: 2
4242
Layout.fillWidth: true
43-
visible: cloudConnection.status === QFieldCloudConnection.LoggedIn || cloudProjectsModel.rowCount() > 0
43+
visible: cloudConnection.status === QFieldCloudConnection.LoggedIn || table.count > 0
4444

4545
Label {
4646
Layout.fillWidth: true

0 commit comments

Comments
 (0)