From 30b020a65bf9ef95c4dd34f1642b645f7e914dbe Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 22 Aug 2022 21:17:14 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=90=AF=E5=8A=A8=E5=90=8E=E4=BC=9A?= =?UTF-8?q?=E7=94=9F=E6=88=90=E4=B8=80=E6=AC=A1=E5=85=A8=E9=87=8F=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=8E=86=E5=8F=B2=E6=96=87=E4=BB=B6=20Fix=20https://g?= =?UTF-8?q?ithub.com/siyuan-note/siyuan/issues/5689?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/conf.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index ef67a8cec..6d602a703 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -510,6 +510,8 @@ func InitBoxes() { } for _, box := range Conf.GetOpenedBoxes() { + box.UpdateHistoryGenerated() // 初始化历史生成时间为当前时间 + if !initialized { box.Index(true) }