Tileset editor: allow to select patterns in the main view.