🎨 Reload UI after find replace

This commit is contained in:
Daniel 2023-07-06 20:22:19 +08:00
parent 1278c30e9d
commit 31d791da68
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -402,9 +402,9 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strin
}
WaitForWritingFiles()
if 1 < len(ids) {
if 0 < len(ids) {
go func() {
time.Sleep(time.Second)
time.Sleep(time.Millisecond * 500)
util.ReloadUI()
}()
}