From bd2713fe8dd08ea76a0de765aab4cf10f7e75351 Mon Sep 17 00:00:00 2001 From: Toast Date: Fri, 6 Jun 2025 04:17:08 +0200 Subject: [PATCH] Qml/Main: show placeholder if there's no mods --- src/leek/qml/Main.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/leek/qml/Main.qml b/src/leek/qml/Main.qml index 87dde4f..d26e7a9 100644 --- a/src/leek/qml/Main.qml +++ b/src/leek/qml/Main.qml @@ -30,6 +30,14 @@ Kirigami.ApplicationWindow { delegate: ModCardDelegate {} model: QModListModel + + Kirigami.PlaceholderMessage { + anchors.centerIn: parent + + visible: modsView.count === 0 + text: "There's no mods installed" + explanation: "Install a mod, and it will show up here" + } } }