update the included folders list after adding one

This commit is contained in:
tibbi 2017-03-17 23:53:51 +01:00
parent 08764e9db3
commit 6cf993a263

View file

@ -56,6 +56,7 @@ class IncludedFoldersActivity : SimpleActivity() {
private fun addIncludedFolder() { private fun addIncludedFolder() {
FilePickerDialog(this, pickFile = false, showHidden = config.showHiddenFolders) { FilePickerDialog(this, pickFile = false, showHidden = config.showHiddenFolders) {
config.addIncludedFolder(it) config.addIncludedFolder(it)
updateIncludedFolders()
scanPath(it) {} scanPath(it) {}
} }
} }