Fix issue #177 - do not show empty palettes when editing variants.