Fix #421 crash choosing Matroska edition in the menu.

This commit is contained in:
stax76
2022-05-20 14:29:21 +02:00
parent bc0fc2a29d
commit 3e499befbc
5 changed files with 161 additions and 202 deletions

View File

@@ -90,15 +90,7 @@ namespace mpvnet
if (item.File == "mpv")
{
Core.ProcessProperty(item.Name, item.Value);
try
{
Core.SetPropertyString(item.Name, item.Value, true);
}
catch (Exception ex)
{
App.ShowError(ex.Message);
}
Core.SetPropertyString(item.Name, item.Value);
}
else if (item.File == "mpvnet")
App.ProcessProperty(item.Name, item.Value, true);