LorisYounger / VPet

虚拟桌宠模拟器 一个开源的桌宠软件, 可以内置到任何WPF应用程序
Apache License 2.0
4.63k stars 465 forks source link

[BUG] DIY element function causes an error #350

Closed j6845 closed 2 months ago

j6845 commented 2 months ago

environment

In settings -> Tab "DIY"

problem

Right click on an entry and selecting one of the first two options, an error occurs and the entry vanishes until program restart.

游戏发生错误,可能是游戏或者MOD导致的 如有可能请发送 错误信息截图和引发错误之前的操作 给开发者:service@exlb.net 感谢您对游戏开发的支持 System.NullReferenceException: Object reference not set to an instance of an object. at VPet_Simulator.Windows.DIYViewer.Send_Top_Click(Object sender, RoutedEventArgs e) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

reproduce

grafik

english version grafik