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; }