Qml/Main: show placeholder if there's no mods
This commit is contained in:
parent
8b40e82c36
commit
bd2713fe8d
1 changed files with 8 additions and 0 deletions
|
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue