Fixed error icon shown on invisible layers
Merge pull request #496 from mbarto/fix_error_icon

Fixed error icon shown on invisible layers