From 3898b6108cec5d22145675a0824ca85e1065fff9 Mon Sep 17 00:00:00 2001 From: Hakoyu Date: Thu, 17 Aug 2023 23:44:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs index 4fd3017..0a1bbf0 100644 --- a/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs +++ b/VPet.Plugin.ModMaker/WinModEdit/ModEditWindow.xaml.cs @@ -36,11 +36,7 @@ public partial class ModEditWindow : Window Closed += WinModInfo_Closed; } - private void WinModInfo_Closed(object sender, EventArgs e) - { - if (Image_ModImage.Source is BitmapImage bitmapImage) - bitmapImage.StreamSource.Close(); - } + private void WinModInfo_Closed(object sender, EventArgs e) { } private void Button_AddModImage_Click(object sender, RoutedEventArgs e) {