From dd19000089b0cfeb77c5b28976d86f6e07d03d06 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 3 Dec 2024 15:08:00 +0100 Subject: [PATCH] bugfix: show the top card in foundation --- Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.qml b/Main.qml index 73fa90d..34d8be4 100644 --- a/Main.qml +++ b/Main.qml @@ -39,7 +39,7 @@ ApplicationWindow { model: 4 // Each of the 4 suits CardModel { required property int index; // passed from repeater - card: gameState.foundation[index].length > 0 ? gameState.foundation[index] : null + card: gameState.foundation[index].length > 0 ? gameState.foundation[index][0] : null isFaceDown: false } }