From 7d73529c833fd7ff432e0c033b6293ed44aea013 Mon Sep 17 00:00:00 2001 From: Frank Skare Date: Mon, 11 May 2020 12:16:40 +0200 Subject: [PATCH] fix beep sound when closed from taskbar --- Changelog.md | 1 + mpv.net/WPF/EverythingWindow.xaml.cs | 2 +- mpv.net/WinForms/MainForm.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index d962a71..e6ab341 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,7 @@ - fix in the learn window of input editor, whole day spent :-( - fix black one pixel bar on right side by truncating instead of rounding +- fix beep sound when closed from taskbar 5.4.7.4 Beta (not yet released) diff --git a/mpv.net/WPF/EverythingWindow.xaml.cs b/mpv.net/WPF/EverythingWindow.xaml.cs index 9b61eb3..df17805 100644 --- a/mpv.net/WPF/EverythingWindow.xaml.cs +++ b/mpv.net/WPF/EverythingWindow.xaml.cs @@ -161,4 +161,4 @@ namespace mpvnet } } } -} \ No newline at end of file +} diff --git a/mpv.net/WinForms/MainForm.cs b/mpv.net/WinForms/MainForm.cs index ae261b1..f4703f9 100644 --- a/mpv.net/WinForms/MainForm.cs +++ b/mpv.net/WinForms/MainForm.cs @@ -632,7 +632,7 @@ namespace mpvnet } // beep sound when closed using taskbar due to exception - //if (!IsDisposed) + if (!IsDisposed) base.WndProc(ref m); }