mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
🎨 Refresh the editor after rolling back the document https://github.com/siyuan-note/siyuan/issues/12397
This commit is contained in:
parent
9560277d0c
commit
f18be1d084
1 changed files with 1 additions and 0 deletions
|
|
@ -284,6 +284,7 @@ func RollbackDocHistory(boxID, historyPath string) (err error) {
|
||||||
sql.RemoveTreeQueue(id)
|
sql.RemoveTreeQueue(id)
|
||||||
sql.IndexTreeQueue(tree)
|
sql.IndexTreeQueue(tree)
|
||||||
util.PushReloadFiletree()
|
util.PushReloadFiletree()
|
||||||
|
util.PushProtyleReload(id)
|
||||||
util.PushMsg(Conf.Language(102), 3000)
|
util.PushMsg(Conf.Language(102), 3000)
|
||||||
|
|
||||||
IncSync()
|
IncSync()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue