Merge pull request #447 from Vocaluxe/SwitchingCoverThemeWorkaround

Workaround to allow cover theme changes without restarting game
This commit is contained in:
daggeg authored and GitHub committed 2020-01-16 08:25:40 +01:00
commit 6d5f3f093f
1 file changed
+6 -1
+6 -1
View File
@@ -133,6 +133,11 @@ namespace Vocaluxe.Base
{
_UnloadCovers();
_LoadCovers();
// Stefan1200: Added a workaround to fix issue #446, because switching the cover theme gets bugged on the song screen and needed a game restart.
// Toggle the tabs view fixes this bug somehow.
CSongs.Categorizer.Tabs = (CConfig.Config.Game.Tabs == EOffOn.TR_CONFIG_ON ? EOffOn.TR_CONFIG_OFF : EOffOn.TR_CONFIG_ON);
CSongs.Categorizer.Tabs = CConfig.Config.Game.Tabs;
}
private static void _UnloadCovers()
@@ -288,4 +293,4 @@ namespace Vocaluxe.Base
}
}
}
}
}