Qml/Main: show placeholder if there's no mods

This commit is contained in:
Toast 2025-06-06 04:17:08 +02:00
parent 8b40e82c36
commit bd2713fe8d

View file

@ -30,6 +30,14 @@ Kirigami.ApplicationWindow {
delegate: ModCardDelegate {} delegate: ModCardDelegate {}
model: QModListModel 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"
}
} }
} }