FAForever / fa

Lua code for FAF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mod manager does not update display of enabled mods for dependencies and favorites

lL1l1 opened this issue · comments

Describe the bug
When I was testing out the repository from commit 6a7e8ac I noticed that there was an older mod manager in there, and that when I enabled Ecomanager its dependency Common Mod tools would light up. The current mod manager doesn't do this.

To Reproduce
Unselect all mods, select a mod with a dependency. The dependency will enable in the background but will not light up until the mod manager is closed and re-opened.
The same applies for enabling favorited mods.

Expected behavior
The display of a mod in the list should update when it is activated through dependency or the favorites button.

Additional context
LOG message when a dependency is activated: INFO: ModsManager activated dependency: UI mod - Common Mod Tools ---- (v1.0) - /mods/common
There is no log when favorites are activated.