🎨 文档树支持 Ctrl+ClickShift+↑/↓ 进行多选 https://github.com/siyuan-note/siyuan/issues/1359

This commit is contained in:
Liang Ding 2022-11-03 23:02:12 +08:00
parent 53cc487025
commit d180b6eb4e
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -1188,6 +1188,7 @@ func RemoveDoc(boxID, p string) (err error) {
func RemoveDocs(paths []string) (err error) {
util.PushEndlessProgress(Conf.Language(116))
defer util.PushClearProgress()
paths = util.FilterSelfChildDocs(paths)
pathsBoxes := getBoxesByPaths(paths)
@ -1198,10 +1199,6 @@ func RemoveDocs(paths []string) (err error) {
return
}
}
util.PushEndlessProgress(Conf.Language(113))
sql.WaitForWritingDatabase()
util.ReloadUI()
return
}