LayerViewerGui: Fixed a bug in updateAllLayers() that caused the layerlist not to update in response to removed slots.