Add a collection immediately and show a placeholder + busy indicator in localdocs settings.

This commit is contained in:
Adam Treat
2023-06-03 10:08:59 -04:00
parent 23391d44e0
commit bc624f5389
6 changed files with 24 additions and 8 deletions

View File

@@ -166,7 +166,7 @@ Item {
id: removeButton
anchors.centerIn: parent
text: qsTr("Remove")
visible: !item.removing
visible: !item.removing && installed
onClicked: {
item.removing = true
LocalDocs.removeFolder(collection, folder_path)
@@ -175,7 +175,7 @@ Item {
MyBusyIndicator {
id: busyIndicator
anchors.centerIn: parent
visible: item.removing
visible: item.removing || !installed
}
}
}