Disabled unitframes remain visible when you change profiles
Description I have two profiles with some unitframes are enabled in the first profile and disabled in the second. The option "Enable spec profiles" is turned on. Unitframes that are disabled in the second profile remains visible when I switch my specialization. To fix the problem I have to relog or reload the interface or open ElvUI config and turn on and then turn off the unitframe.
Version Number 11.371
Steps to Reproduce
- Create Profile-1 with party frames are enabled.
- Create Profile-2 with party frames are disabled.
- Turn on "Enable spec profiles" option and bind profile-1 to spec-1 and profile-2 to spec-2.
- Change specialization from spec-1 to spec-2.
Expected Behavior Party frame should dissapear after change the specialization.
Actual Behavior Party frame remain visible.
Only ElvUI Enabled The issue remains when the only ElvUI is enabled.
Error Log There is no errors detected.