mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-29 15:46:07 +00:00
Fix NRE on Avalonia for error applets with unknown error message (#3888)
This commit is contained in:
parent
ece36b274d
commit
a0c77f8d11
|
@ -168,7 +168,7 @@ namespace Ryujinx.Ava.Ui.Applet
|
||||||
|
|
||||||
object response = await msgDialog.Run();
|
object response = await msgDialog.Run();
|
||||||
|
|
||||||
if (response != null && buttons.Length > 1 && (int)response != buttons.Length - 1)
|
if (response != null && buttons != null && buttons.Length > 1 && (int)response != buttons.Length - 1)
|
||||||
{
|
{
|
||||||
showDetails = true;
|
showDetails = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue