mirror of
https://github.com/terrymacdonald/DisplayMagician.git
synced 2024-08-30 18:32:20 +00:00
Fixed broken application library display
Accidentally broke the applications from displaying in the ShortcutLibraryForm. Now fixed.
This commit is contained in:
parent
3ee8f61b47
commit
54132777fb
@ -66,7 +66,7 @@ namespace DisplayMagician.UIForms
|
||||
foreach (ShortcutItem loadedShortcut in ShortcutRepository.AllShortcuts.OrderBy(s => s.Name))
|
||||
{
|
||||
// Ignore any shortcuts with incompatible game libraries
|
||||
if (!Enum.IsDefined(typeof(SupportedGameLibraryType), loadedShortcut.GameLibrary) || loadedShortcut.GameLibrary == SupportedGameLibraryType.Unknown)
|
||||
if (loadedShortcut.Category == ShortcutCategory.Game && (!Enum.IsDefined(typeof(SupportedGameLibraryType), loadedShortcut.GameLibrary) || loadedShortcut.GameLibrary == SupportedGameLibraryType.Unknown))
|
||||
{
|
||||
// Skip showing unknown game library items as we have no way to deal with them
|
||||
logger.Warn( $"ShortcutLibraryForm/RefreshShortcutLibraryUI: Ignoring game shortcut {loadedShortcut.Name} as it's from a Game library this version doesn't support.");
|
||||
|
Loading…
Reference in New Issue
Block a user