Issue 6799

Fixes issue 6799 by hiding the search bar on disabled panels.