From 978ae3f55508434f352bf226dc289fa33ddbb97d Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 23 Jun 2022 11:38:35 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=94=AF=E6=8C=81=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=E7=AD=BE=E6=89=93=E5=BC=80=E6=9C=80=E5=A4=A7=E6=95=B0?= =?UTF-8?q?=E9=87=8F=20https://github.com/siyuan-note/siyuan/issues/2098?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/conf.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index ce6a1f882..fc78fee7d 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -133,6 +133,9 @@ func InitConf() { if 1 > Conf.FileTree.MaxOpenTabCount { Conf.FileTree.MaxOpenTabCount = 12 } + if 32 < Conf.FileTree.MaxOpenTabCount { + Conf.FileTree.MaxOpenTabCount = 32 + } if nil == Conf.Tag { Conf.Tag = conf.NewTag() }