From 82b670191dfcf21d8995f1e07df963c09b5aa9be Mon Sep 17 00:00:00 2001 From: ww-rm Date: Sat, 1 Mar 2025 11:11:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpineViewer/src/SpineListView.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpineViewer/src/SpineListView.cs b/SpineViewer/src/SpineListView.cs index 260f85e..39c6bad 100644 --- a/SpineViewer/src/SpineListView.cs +++ b/SpineViewer/src/SpineListView.cs @@ -36,9 +36,9 @@ namespace SpineViewer /// private void Insert(int index = -1) { - // 如果索引无效则插在开头 + // 如果索引无效则在末尾添加 if (index < 0 || index > spines.Count) - index = 0; + index = spines.Count; var dialog = new OpenSpineDialog(); if (dialog.ShowDialog() != DialogResult.OK)