mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 21:38:38 +00:00
Merge remote-tracking branch 'origin/feature/fix-crash' into development
This commit is contained in:
commit
0225457b1b
@ -50,6 +50,9 @@ public partial class ProfileConfigurationIcon : UserControl, IDisposable
|
|||||||
{
|
{
|
||||||
Dispatcher.UIThread.Post(() =>
|
Dispatcher.UIThread.Post(() =>
|
||||||
{
|
{
|
||||||
|
if (ConfigurationIcon is null)
|
||||||
|
return;
|
||||||
|
|
||||||
Stream? stream = ConfigurationIcon.GetIconStream();
|
Stream? stream = ConfigurationIcon.GetIconStream();
|
||||||
if (stream == null)
|
if (stream == null)
|
||||||
Content = new MaterialIcon {Kind = MaterialIconKind.QuestionMark};
|
Content = new MaterialIcon {Kind = MaterialIconKind.QuestionMark};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user