mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 06:24:06 +01:00
This commit is contained in:
parent
7bd973deca
commit
c1c6f435b6
7 changed files with 26 additions and 11 deletions
|
|
@ -523,7 +523,10 @@ func genTreeID(tree *parse.Tree) {
|
|||
return
|
||||
}
|
||||
|
||||
var isFullReindexing = false
|
||||
|
||||
func FullReindex() {
|
||||
isFullReindexing = true
|
||||
util.PushEndlessProgress(Conf.Language(35))
|
||||
WaitForWritingFiles()
|
||||
|
||||
|
|
@ -542,6 +545,7 @@ func FullReindex() {
|
|||
InitFlashcards()
|
||||
|
||||
util.PushEndlessProgress(Conf.Language(58))
|
||||
isFullReindexing = false
|
||||
go func() {
|
||||
time.Sleep(1 * time.Second)
|
||||
util.ReloadUI()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue