From b7365fa98ffe502119cadcf58aed3cdb108560a2 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Mon, 1 Apr 2024 18:22:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E8=AF=B4=E7=9A=84=E8=AF=9D?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs b/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs index 2b6bb4a..41f0831 100644 --- a/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs @@ -98,7 +98,7 @@ namespace VPet_Simulator.Windows private void btn_Send_Click(object sender, RoutedEventArgs e) { - if (tbTalk.SelectedIndex == -1 || tbTalk.Text == "没有可以说的话".Translate()) + if (tbTalk.SelectedIndex == -1 || tbTalk.Text == "没有可以说的话".Translate() || textList.Count == 0) { return; }