mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
UI - Fixed possible crash when loading profiles with broken icons
Debugger - Added routing debugger
This commit is contained in:
1 parent
e0869e4f28
commit
4a152f4e95
5 files changed
+174
-3
No files matched your search
@@ -42,7 +42,15 @@ public class SidebarProfileConfigurationViewModel : ActivatableViewModelBase
|
||||
.Select(p => p == null)
|
||||
.ToProperty(this, vm => vm.IsDisabled)
|
||||
.DisposeWith(d));
|
||||
_profileService.LoadProfileConfigurationIcon(ProfileConfiguration);
|
||||
|
||||
try
|
||||
{
|
||||
_profileService.LoadProfileConfigurationIcon(ProfileConfiguration);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
// ignored, too bad but don't crash over corrupt icons
|
||||
}
|
||||
}
|
||||
|
||||
public ProfileConfiguration ProfileConfiguration { get; }
|
||||
|
||||
Reference in new issue
Block a user